Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Karaf | < 4.2.3 |
Related Weaknesses (CWE)
References
- http://www.securityfocus.com/bid/107462Third Party AdvisoryVDB Entry
- https://lists.apache.org/thread.html/6856aa7ed7dd805eaf65d0e5e95027dda3b2307aacd
- https://lists.apache.org/thread.html/cef9a2d4b547625e5214684283ac5c59c9d9740e092
- http://www.securityfocus.com/bid/107462Third Party AdvisoryVDB Entry
- https://lists.apache.org/thread.html/6856aa7ed7dd805eaf65d0e5e95027dda3b2307aacd
- https://lists.apache.org/thread.html/cef9a2d4b547625e5214684283ac5c59c9d9740e092
FAQ
What is CVE-2019-0191?
CVE-2019-0191 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 an...
How severe is CVE-2019-0191?
CVE-2019-0191 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-0191?
Check the references section above for vendor advisories and patch information. Affected products include: Apache Karaf.