CVE-2019-11830 — phar-stream-wrapper
CRITICALCVE-2019-11830 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability in typo3/phar-stream-wrapper. A fix is available for typo3/phar-stream-wrapper — see the affected versions and patch details below.
PharStreamWrapper for Typo3 unsafe deserialization vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
typo3/phar-stream-wrapper🐘typo3/phar-stream-wrapperReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
PharMetaDataInterceptor in the PharStreamWrapper (aka phar-stream-wrapper) package 2.x before 2.1.1 and 3.x before 3.1.1 for TYPO3 mishandles Phar stub parsing, which allows attackers to bypass a deserialization protection mechanism.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | typo3/phar-stream-wrapper | ≥ 2.0.0&&< 2.1.1 | 2.1.1composer require typo3/phar-stream-wrapper:^2.1.1 |
| 🐘Packagist | typo3/phar-stream-wrapper | ≥ 3.0.0&&< 3.1.1 | 3.1.1composer require typo3/phar-stream-wrapper:^3.1.1 |
Affected Products
pharstreamwrappertypo3Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for typo3/phar-stream-wrapper, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update typo3/phar-stream-wrapper to 2.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-11830 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is CVE-2019-11830 in your dependencies?
Find it across Packagist, including transitive dependencies.