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
typo3/phar-stream-wrapperComposer
- 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.1typo3/phar-stream-wrapperComposer
- 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.1drupal/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.0drupal/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.16drupal/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.1drupal/drupalComposer
- 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.0drupal/drupalComposer
- 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.16drupal/drupalComposer
- 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.1Details
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-11831
- Linkwww.synology.com/security/advisory/Synology_SA_19_22
- Linkwww.drupal.org/sa-core-2019-007
- Linkwww.debian.org/security/2019/dsa-4445
- Linktypo3.org/security/advisory/typo3-psa-2019-007
- Linkseclists.org/bugtraq/2019/May/36
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z246UWBXBEKTQUDTLRJTC7XYBIO4IBE4
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U6JX7WR6DPMKCZQP7EYFACYXSGJ3K523
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E3NUKPG7V4QEM6QXRMHYR4ABFMW5MM2P
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AUEXS4HRI4XZ2DTZMWAVQBYBTFSJ34AR
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6QDJVUJPUW3RZ4746SC6BX4F4T6ZXNBH
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65ODQHDHWR74L6TCAPAQR5FQHG6MCXAW
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z246UWBXBEKTQUDTLRJTC7XYBIO4IBE4
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6JX7WR6DPMKCZQP7EYFACYXSGJ3K523
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E3NUKPG7V4QEM6QXRMHYR4ABFMW5MM2P
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AUEXS4HRI4XZ2DTZMWAVQBYBTFSJ34AR
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QDJVUJPUW3RZ4746SC6BX4F4T6ZXNBH
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/65ODQHDHWR74L6TCAPAQR5FQHG6MCXAW
- Linklists.debian.org/debian-lts-announce/2019/05/msg00029.html
- Linkgithub.com/TYPO3/phar-stream-wrapper/releases/tag/v3.1.1
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.