CVE-2019-11830: PharStreamWrapper for Typo3 unsafe deserialization vulnerability
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84814%
CWE
Published
5/24/2022
Updated
2/5/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
typo3/phar-stream-wrapper | composer | >= 2.0.0, < 2.1.1 | 2.1.1 |
typo3/phar-stream-wrapper | composer | >= 3.0.0, < 3.1.1 | 3.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from PharMetaDataInterceptor
's custom Phar
stub parsing implementation, which failed to properly handle certain Phar
structures. This allowed bypassing the deserialization protection mechanism. The security advisory explicitly mentions that 'internal Phar
stub parsing has been adjusted to match actual handling like provided in the native PHP
source code,' indicating the intercept()
method (responsible for parsing) contained the flawed logic. The CWE-502
mapping confirms this is a deserialization bypass via improper input validation during Phar
metadata analysis.