CVE-2019-19848: Typo3/cms core Path Traversal Vulnerability
MODERATECVE-2019-19848 is a MODERATE (CVSS 6.8) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Typo3/cms core libraries in the Packagist ecosystem. The issue involves typo3 directory traversal on zip extraction. Remediation is available by upgrading affected packages to version 10.2.2, 8.7.30, 9.5.12.
CVE-2019-19848 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-19848
To remediate this vulnerability, upgrade all affected Typo3/cms core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade typo3/cms-core to 10.2.2
Upgrade typo3/cms-core to 8.7.30
Upgrade typo3/cms-core to 9.5.12
Upgrade typo3/cms to 10.2.2
Upgrade typo3/cms to 8.7.30
Upgrade typo3/cms to 9.5.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for typo3/cms-core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-19848, inspect your project dependencies for Typo3/cms core:
inspect dependencies for typo3/cms-core
Analyze the terminal output to locate any version of Typo3/cms core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.2.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Typo3/cms core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-19848 Affected Typo3/cms core Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
typo3/cms-core
|
Packagist |
≥ 10.0.0
< 10.2.2
|
10.2.2
|
|
typo3/cms-core
|
Packagist |
≥ 8.0.0
< 8.7.30
|
8.7.30
|
|
typo3/cms-core
|
Packagist |
≥ 9.0.0
< 9.5.12
|
9.5.12
|
|
typo3/cms
|
Packagist |
≥ 10.0.0
< 10.2.2
|
10.2.2
|
|
typo3/cms
|
Packagist |
≥ 8.0.0
< 8.7.30
|
8.7.30
|
|
typo3/cms
|
Packagist |
≥ 9.0.0
< 9.5.12
|
9.5.12
|
References
Frequently Asked Questions
What is CVE-2019-19848?
Which Typo3/cms core versions are affected?
What version fixes CVE-2019-19848?
Is typo3/cms-core affected?
Is typo3/cms affected?
What is the CVSS score of CVE-2019-19848?
What CWE is associated with CVE-2019-19848?
How can I check Packagist dependencies for CVE-2019-19848?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-77p4-wfr8-977w",
"modified" : "2024-04-25T21:35:12Z",
"published" : "2022-05-24T17:03:52Z",
"aliases" : [ "CVE-2019-19848" ],
"summary" : "TYPO3 Directory Traversal on ZIP extraction",
"details" : "An issue was discovered in TYPO3 before 8.7.30, 9.x before 9.5.12, and 10.x before 10.2.2. It has been discovered that the extraction of manually uploaded ZIP archives in Extension Manager is vulnerable to directory traversal. Admin privileges are required in order to exploit this vulnerability. (In v9 LTS and later, System Maintainer privileges are also required.)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.0"
}, {
"fixed" : "10.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.7.30"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.5.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.0"
}, {
"fixed" : "10.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.7.30"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.5.12"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-19848"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2019-19848.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2019-19848.yaml"
}, {
"type" : "WEB",
"url" : "https://review.typo3.org/q/%2522Resolves:+%252388764%2522+topic:security"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-core-sa-2019-024"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-25T21:35:12Z",
"nvd_published_at" : "2019-12-17T17:15:00Z"
}
}