Loading...
Skip to main content

CVE-2019-11831 — Directory Traversal in drupal/drupal — CVE Details

CRITICAL

Directory Traversal in typo3/phar-stream-wrapper

Published September 30, 2021Updated December 10, 2025Source: osv

Summary

The PharStreamWrapper (aka phar-stream-wrapper) package 2.x before 2.1.1 and 3.x before 3.1.1 for TYPO3 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.

Advisory Timeline

  • First published September 30, 2021 (1838 days ago).
  • Last revised December 10, 2025 — 1532 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update drupal/drupal to 8.7.1 or later
composer require "drupal/drupal:^8.7.1"
Composer
Update drupal/drupal to 8.6.16 or later
composer require "drupal/drupal:^8.6.16"
Composer
Update drupal/drupal to 7.67.0 or later
composer require "drupal/drupal:^7.67.0"
Composer
Update drupal/core to 7.67.0 or later
composer require "drupal/core:^7.67.0"
Composer
Update drupal/core to 8.7.1 or later
composer require "drupal/core:^8.7.1"
Composer
Update typo3/phar-stream-wrapper to 2.1.1 or later
composer require "typo3/phar-stream-wrapper:^2.1.1"
Composer
Update drupal/core to 8.6.16 or later
composer require "drupal/core:^8.6.16"
Composer
Update typo3/phar-stream-wrapper to 3.1.1 or later
composer require "typo3/phar-stream-wrapper:^3.1.1"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: packagist (3).

PackageEcosystemAffectedFixed In
drupal/drupal
packagist
8.7.08.7.1
drupal/drupal
packagist
8.0.0, 8.0.1, 8.0.2, 8.0.3 (+97 more)8.6.16
drupal/drupal
packagist
All versions7.67.0
drupal/core
packagist
All versions7.67.0
drupal/core
packagist
8.7.08.7.1
typo3/phar-stream-wrapper
packagist
v2.0.0, v2.0.1, v2.1.02.1.1
drupal/core
packagist
8.0.0, 8.0.1, 8.0.2, 8.0.3 (+97 more)8.6.16
typo3/phar-stream-wrapper
packagist
v3.0.0, v3.0.1, v3.1.03.1.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-22
    Path TraversalMITRE
  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

References

Frequently Asked Questions

What is CVE-2019-11831?
Directory Traversal in typo3/phar-stream-wrapper This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2019-11831?
CVE-2019-11831 affects drupal/drupal, drupal/core and typo3/phar-stream-wrapper. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-11831 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-xv7v-rf6g-xwrc
DRUPAL-CORE-2019-007

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies