Directory Traversal in typo3/phar-stream-wrapper
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| typo3/phar-stream-wrapper Packagist |
|
|
| drupal/core Packagist |
|
| Product | Affected | Fixed in |
|---|---|---|
| typo3/phar-stream-wrapper Packagist |
|
|
| drupal/core Packagist |
|
≥ 8.7.0 · < 8.7.1
|
| drupal/drupal Packagist |
|
|
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.
From the CVE record · mitre
The PharStreamWrapper package does not prevent directory traversal in affected versions. An attacker can use a crafted phar URL to bypass its deserialization protection mechanism. The input does not specify whether network access, authentication, or user interaction is required.
Check installations using typo3/phar-stream-wrapper 2.0.0 through versions before 2.1.1 or 3.0.0 through versions before 3.1.1, or drupal/core or drupal/drupal 7.0.0 through versions before 7.67.0, 8.0.0 through versions before 8.6.16, or 8.7.0 through versions before 8.7.1.