Vulnerability advisory

GHSA-6pxh-2557-5cj5

Magento Open Source Path Traversal vulnerability

Published Updated OSV record ↗

Also known as CVE-2024-39406

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
  • CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Affected versions

AffectedFixed in
2.4.7-p1 to before 2.4.7-p22.4.7-p2Advisories →
Also listed as affected (1)
Affected versions (1)
2.4.6-p1 to before 2.4.6-p72.4.6-p7Advisories →
Also listed as affected (6)
Affected versions (1)
2.4.5-p1 to before 2.4.5-p92.4.5-p9Advisories →
Also listed as affected (8)
Affected versions (1)
All versions before 2.4.4-p102.4.4-p10Advisories →
Also listed as affected (147)
Affected versions (1)

Description

Magento Open Source versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could lead to arbitrary file system read. An attacker could exploit this vulnerability to gain access to files and directories that are outside the restricted directory. Exploitation of this issue does not require user interaction and scope is changed.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools