Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. drupal/core
  4. ›
  5. CVE-2019-11831

CVE-2019-11831: Moderately critical - Third-party libraries - SA-CORE-2019-007

May 9, 2019 (updated May 25, 2019)

The PharStreamWrapper (aka phar-stream-wrapper) package does not prevent directory traversal, which allows attackers to bypass a deserialization protection mechanism, as demonstrated by a phar:///path/bad.phar/../good.phar URL.

References

  • www.drupal.org/SA-CORE-2019-007

Code Behaviors & Features

Detect and mitigate CVE-2019-11831 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 7.0.0 before 7.67.0, all versions starting from 8.0.0 before 8.6.16, all versions starting from 8.7.0 before 8.7.1

Fixed versions

  • 8.6.16
  • 8.7.1

Solution

Upgrade to versions 8.6.16, 8.7.1 or above.

Impact 9.8 CRITICAL

CVSS:3.0/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')
  • CWE-502: Deserialization of Untrusted Data

Source file

packagist/drupal/core/CVE-2019-11831.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:04 +0000.