Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. ec-cube/ec-cube
  4. ›
  5. CVE-2022-40199

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

September 27, 2022 (updated September 29, 2022)

Directory traversal vulnerability in EC-CUBE 3 series (EC-CUBE 3.0.0 to 3.0.18-p4 ) and EC-CUBE 4 series (EC-CUBE 4.0.0 to 4.1.2) allows a remote authenticated attacker with an administrative privilege to obtain the product’s directory structure information.

References

  • jvn.jp/en/jp/JVN21213852/index.html
  • nvd.nist.gov/vuln/detail/CVE-2022-40199
  • www.ec-cube.net/info/weakness/20220909/

Code Behaviors & Features

Detect and mitigate CVE-2022-40199 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 starting from 3.0.0 before 3.0.18, all versions starting from 4.0.0 up to 4.1.2

Fixed versions

  • 3.0.18
  • 4.1.2-p1

Solution

Upgrade to versions 3.0.18, 4.1.2-p1 or above.

Impact 2.7 LOW

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

Learn more about CVSS

Weakness

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

Source file

packagist/ec-cube/ec-cube/CVE-2022-40199.yml

Spotted a mistake? Edit the file on GitLab.

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

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