Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | drupal7 | 7.52-2+deb9u9 | DSA-4445-1 |
| Debian 8 | drupal7 | 7.32-1+deb8u17 | DLA-1797-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | drupal7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | drupal7 | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.9 | drupal7 | 7.67-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | drupal/core | >= 8.0.0, < 8.6.16 · >= 8.7.0, < 8.7.1 | 8.6.16, 8.7.1 | DRUPAL-CORE-2019-007 |
| Packagist | drupal/core | >= 7.0.0, < 7.67.0 | 7.67.0 | GHSA-xv7v-rf6g-xwrc |
| Packagist | drupal/core | >= 8.0.0, < 8.6.16 | 8.6.16 | GHSA-xv7v-rf6g-xwrc |
| Packagist | drupal/core | >= 8.7.0, < 8.7.1 | 8.7.1 | GHSA-xv7v-rf6g-xwrc |
| Packagist | drupal/drupal | >= 7.0.0, < 7.67.0 | 7.67.0 | GHSA-xv7v-rf6g-xwrc |
| Packagist | drupal/drupal | >= 8.0.0, < 8.6.16 | 8.6.16 | GHSA-xv7v-rf6g-xwrc |
| Packagist | drupal/drupal | >= 8.7.0, < 8.7.1 | 8.7.1 | GHSA-xv7v-rf6g-xwrc |
| Packagist | typo3/phar-stream-wrapper | >= 2.0.0, < 2.1.1 | 2.1.1 | GHSA-xv7v-rf6g-xwrc |
| Packagist | typo3/phar-stream-wrapper | >= 3.0.0, < 3.1.1 | 3.1.1 | GHSA-xv7v-rf6g-xwrc |
Advisories 2
- DSA-4445-1 drupal7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1797-1 drupal7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://www.drupal.org/sa-core-2019-007
- https://github.com/TYPO3/phar-stream-wrapper/releases/tag/v3.1.1
- https://github.com/TYPO3/phar-stream-wrapper/releases/tag/v2.1.1
- https://typo3.org/security/advisory/typo3-psa-2019-007/
- https://www.synology.com/security/advisory/Synology_SA_19_22
- 108302 vdb-entry
- DSA-4445 vendor-advisory
- 20190515 [SECURITY] [DSA 4445-1] drupal7 security update mailing-list
- FEDORA-2019-3c89837025 vendor-advisory
- FEDORA-2019-4d93cf2b34 vendor-advisory
- FEDORA-2019-d5f883429d vendor-advisory
- [debian-lts-announce] 20190520 [SECURITY] [DLA 1797-1] drupal7 security update mailing-list
- FEDORA-2019-84a50e34a9 vendor-advisory
- FEDORA-2019-41d6ffd6f0 vendor-advisory
- FEDORA-2019-040857fd75 vendor-advisory