Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. sulu/sulu
  4. ›
  5. CVE-2021-43836

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

December 15, 2021 (updated December 16, 2021)

Sulu is an open-source PHP content management system based on the Symfony framework. In affected versions an attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution. The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0. For users unable to upgrade overwrite the service sulu_route.generator.expression_token_provider and wrap the translator before passing it to the expression language.

References

  • github.com/advisories/GHSA-vx6j-pjrh-vgjh
  • github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54
  • github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh
  • nvd.nist.gov/vuln/detail/CVE-2021-43836

Code Behaviors & Features

Detect and mitigate CVE-2021-43836 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 1.6.44, all versions starting from 2.0.0 before 2.2.18, all versions starting from 2.3.0 before 2.3.8, version 2.4.0-rc1

Fixed versions

  • 1.6.44
  • 2.2.18
  • 2.3.8
  • 2.4.0

Solution

Upgrade to versions 1.6.44, 2.2.18, 2.3.8, 2.4.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/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')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/sulu/sulu/CVE-2021-43836.yml

Spotted a mistake? Edit the file on GitLab.

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

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