Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. oro/platform
  4. ›
  5. CVE-2022-41951

CVE-2022-41951: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

November 27, 2023 (updated December 4, 2023)

OroPlatform is a PHP Business Application Platform (BAP) designed to make development of custom business applications easier and faster. Path Traversal is possible in Oro\Bundle\GaufretteBundle\FileManager::getTemporaryFileName. With this method, an attacker can pass the path to a non-existent file, which will allow writing the content to a new file that will be available during script execution. This vulnerability has been fixed in version 5.0.9.

References

  • github.com/advisories/GHSA-9v3j-4j64-p937
  • github.com/oroinc/platform/security/advisories/GHSA-9v3j-4j64-p937
  • nvd.nist.gov/vuln/detail/CVE-2022-41951

Code Behaviors & Features

Detect and mitigate CVE-2022-41951 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.0.9

Fixed versions

  • 5.0.9

Solution

Upgrade to version 5.0.9 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

packagist/oro/platform/CVE-2022-41951.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:01 +0000.