Skip to content
Fencer Vulns
critical 9.8

CVE-2019-11831 json

Directory Traversal in typo3/phar-stream-wrapper

published 2019-05-08 7 y ago modified 2026-09-19 50 d ago also DRUPAL-CORE-2019-007 , GHSA-xv7v-rf6g-xwrc , EUVD-2021-2136

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.4%
EPSS 5.4% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

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.

Patch / fix

  • packagist typo3/phar-stream-wrapper 2.1.1, 3.1.1
  • packagist drupal/core 7.67.0, 8.6.16, 8.7.1
  • packagist drupal/drupal 7.67.0, 8.6.16, 8.7.1
  • typo3 pharstreamwrapper 2.1.1, 3.1.1
  • drupal drupal 7.67, 8.6.16, 8.7.1
  • drupal7 Alpine 3.9 7.67-r0

alpine advisories ALPINE-CVE-2019-11831

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-11831 updated cvss 5.3

phar-stream-wrapper: TYP03 does not prevent directory traversal resulting in bypass of deserialization of protection mechanism

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.44% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist typo3/phar-stream-wrapper
>=2.0.0, <2.1.1
>=3.0.0, <3.1.1
2.1.1
3.1.1
packagist drupal/core
>=7.0.0, <7.67.0
>=8.0.0, <8.6.16
>=8.7.0, <8.7.1
7.67.0
8.6.16
8.7.1
packagist drupal/drupal
>=7.0.0, <7.67.0
>=8.0.0, <8.6.16
>=8.7.0, <8.7.1
7.67.0
8.6.16
8.7.1

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.