CriticalGHSA-xv7v-rf6g-xwrcCVE-2019-11831DRUPAL-CORE-2019-007

Directory Traversal in typo3/phar-stream-wrapper

Published 30 Sept 2021 · Updated 10 Dec 2025

Affected packages

Affected
>=2.0.0 <2.1.1
Fixed in
2.1.1
Update to the fixed version for your release line, for example:composer require typo3/phar-stream-wrapper:^2.1.1
Affected
>=3.0.0 <3.1.1
Fixed in
3.1.1
Update to the fixed version for your release line, for example:composer require typo3/phar-stream-wrapper:^3.1.1
drupal/coreComposer
Affected
>=7.0.0 <7.67.0
Fixed in
7.67.0
Update to the fixed version for your release line, for example:composer require drupal/core:^7.67.0
drupal/coreComposer
Affected
>=8.0.0 <8.6.16
Fixed in
8.6.16
Update to the fixed version for your release line, for example:composer require drupal/core:^8.6.16
drupal/coreComposer
Affected
>=8.7.0 <8.7.1
Fixed in
8.7.1
Update to the fixed version for your release line, for example:composer require drupal/core:^8.7.1
Affected
>=7.0.0 <7.67.0
Fixed in
7.67.0
Update to the fixed version for your release line, for example:composer require drupal/drupal:^7.67.0
Affected
>=8.0.0 <8.6.16
Fixed in
8.6.16
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.6.16
Affected
>=8.7.0 <8.7.1
Fixed in
8.7.1
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.7.1

Details

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.

Is GHSA-xv7v-rf6g-xwrc in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/phar-stream-wrapper, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.