Advisory

GHSA-8frp-pxq2-3gpq

Also known as: CVE-2024-39401

Summary

Magento OS Command ('OS Command Injection') vulnerability

Details

Magento versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier are affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability that could lead in arbitrary code execution by an admin attacker. Exploitation of this issue requires user interaction and scope is changed.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-08-14 12:35 UTC
Modified
2025-11-06 17:27 UTC

Affected packages and fixes

magento/project-community-edition

Packagist · All systems

Affected

  • introduced 0, last affected 2.0.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.7-beta1, fixed 2.4.7-p2 (ecosystem)

Fixed versions

2.4.7-p2

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.6-p1, fixed 2.4.6-p7 (ecosystem)

Fixed versions

2.4.6-p7

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.5-p1, fixed 2.4.5-p9 (ecosystem)

Fixed versions

2.4.5-p9

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.4-p1, fixed 2.4.4-p10 (ecosystem)

Fixed versions

2.4.4-p10

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • Versions: 2.4.7

Fixed versions

None listed

Fix

No fixed version is listed.

magento/community-edition

Packagist · All systems

Affected

  • Versions: 2.4.6

Fixed versions

None listed

Fix

No fixed version is listed.

magento/community-edition

Packagist · All systems

Affected

  • Versions: 2.4.5

Fixed versions

None listed

Fix

No fixed version is listed.

magento/community-edition

Packagist · All systems

Affected

  • Versions: 2.4.4

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences