HIGH8.5
GHSA-fx9g-g9q6-x3jx
Magento Path Traversal vulnerability
Quick fix
GHSA-fx9g-g9q6-x3jx — magento/community-edition: upgrade to the fixed version with the command below.
composer require magento/community-edition:^2.3.7-p4Details
Adobe Commerce versions 2.4.3-p2 (and earlier), 2.3.7-p3 (and earlier) and 2.4.4 (and earlier) are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could be abused by an attacker to inject malicious scripts into the vulnerable endpoint. A low privileged attacker could leverage this vulnerability to read local files and to perform Stored XSS. Exploitation of this issue does not require user interaction.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/magento/community-edition
Introduced in:
2.3.0Fixed in: 2.3.7-p4Fix
composer require magento/community-edition:^2.3.7-p4Packagist/magento/community-edition
Introduced in:
2.4.0Fixed in: 2.4.3-p3Fix
composer require magento/community-edition:^2.4.3-p3Packagist/magento/community-edition
Introduced in:
2.4.4Fixed in: 2.4.5Fix
composer require magento/community-edition:^2.4.5References
- https://nvd.nist.gov/vuln/detail/CVE-2022-34254[ADVISORY]
- https://github.com/magento/magento2/commit/246d524b7586af2245092008e0d92b8d6fdd8523[WEB]
- https://github.com/magento/magento2/commit/5548bc64b5bc904346c0af9193a7fbb5274b4efa[WEB]
- https://github.com/magento/magento2/commit/5f07eba878296a37bd5c3a2baecad48948547594[WEB]
- https://github.com/magento/magento2[PACKAGE]
- https://helpx.adobe.com/security/products/magento/apsb22-38.html[WEB]