CVE-2019-11830 PharStreamWrapper for Typo3 unsafe deserialization vulnerability
Attackers can bypass deserialization protection mechanisms in the phar-stream-wrapper library by exploiting mishandled Phar stub parsing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-11830?
CVE-2019-11830 is a critical unsafe deserialization vulnerability in n/a, published on 9 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-502
Which versions are affected by CVE-2019-11830?
4 open source packages ship an affected version, including typo3/phar-stream-wrapper. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
typo3/phar-stream-wrapper Packagist | From 2.0.0 | 2.1.1 |
typo3/phar-stream-wrapper Packagist | From 2.0.0 | 2.1.1 |
typo3/phar-stream-wrapper Packagist | From 3.0.0 | 3.1.1 |
typo3/phar-stream-wrapper Packagist | From 3.0.0 | 3.1.1 |
Products include Typo3 Pharstreamwrapper.
How do I fix CVE-2019-11830?
Upgrade typo3/phar-stream-wrapper to a fixed version for your release line: 2.1.1 or 3.1.1.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2019-11830 being exploited?
There is no known exploitation of CVE-2019-11830 in the wild and no public exploit code.
Sources
Also known as GHSA-3hxw-g85p-qgxm.