CVE-2019-0191
Apache Karaf kar deployer reads .kar archives and extracts the paths from the "repository/" and "resources/" entries in the zip file. It…
- Published
- Updated
- Reserved
- Assigned by
- apache
Description
Apache Karaf kar deployer reads .kar archives and extracts the paths from the "repository/" and "resources/" entries in the zip file. It then writes out the content of these paths to the Karaf repo and resources directories. However, it doesn't do any validation on the paths in the zip file. This means that a malicious user could craft a .kar file with ".." directory names and break out of the directories to write arbitrary content to the filesystem. This is the "Zip-slip" vulnerability - https://snyk.io/research/zip-slip-vulnerability. This vulnerability is low if the Karaf process user has limited permission on the filesystem. Any Apache Karaf releases prior 4.2.3 is impacted.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 4.9% · top 7.9% of all CVEs (4 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
- Zip-slip vulnerability in KAR deployer
- CWE-22 (opens in a new tab)All about CWE-22 and its CVEs
Affected products
- affected Apache Karaf version prior to 4.2.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.karaf:apache-karafGHSA-869j-5855-hjpm (opens in a new tab)
- Mavenorg.apache.karaf:karafGHSA-869j-5855-hjpm (opens in a new tab)
References (3)
- [karaf-user] 20190307 [SECURITY] New security advisory for CVE-2019-0191 released for Apache Karaf (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 107462 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [karaf-commits] 20190506 [karaf-site] branch trunk updated: Publish CVE-2019-0226 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-869j-5855-hjpm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-0191)Record last updated .