GitHub Advisoryadvisory · Packagist

GHSA-xv7v-rf6g-xwrc Directory Traversal in typo3/phar-stream-wrapper

CRITICAL Published 2021-09-30 Modified 2021-09-30 Official page ↗
Aliases
CVE-2019-11831
Ecosystem
Packagist
Packages
typo3/phar-stream-wrapper, drupal/core, drupal/drupal
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22, CWE-502
Reviewed
2021-09-30

Affected packages

• Packagist typo3/phar-stream-wrapper: >= 2.0.0, < 2.1.1 → fixed in 2.1.1 • Packagist typo3/phar-stream-wrapper: >= 3.0.0, < 3.1.1 → fixed in 3.1.1 • Packagist drupal/core: >= 7.0.0, < 7.67.0 → fixed in 7.67.0 • Packagist drupal/core: >= 8.0.0, < 8.6.16 → fixed in 8.6.16 • Packagist drupal/core: >= 8.7.0, < 8.7.1 → fixed in 8.7.1 • Packagist drupal/drupal: >= 7.0.0, < 7.67.0 → fixed in 7.67.0 • Packagist drupal/drupal: >= 8.0.0, < 8.6.16 → fixed in 8.6.16 • Packagist drupal/drupal: >= 8.7.0, < 8.7.1 → fixed in 8.7.1

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.

Related

Alias · CVE (1)

  • CVE-2019-11831 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… vulnerability

Weakness · CWE (2)

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

References