Skip to content
OpenAdvisories
Critical · 9.8 CVE-2019-11831 DRUPAL-CORE-2019-007EUVD-2021-2136GHSA-xv7v-rf6g-xwrc

Directory Traversal in typo3/phar-stream-wrapper

Published May 9, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
Debian 9 drupal7 7.52-2+deb9u9 DSA-4445-1
Debian 8 drupal7 7.32-1+deb8u17 DLA-1797-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS drupal7 No fix yet —
Ubuntu Pro 14.04 LTS drupal7 No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.9 drupal7 7.67-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References