CVE-2019-0191: Path Traversal
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2019-0191.
What is the severity level of CVE-2019-0191?
CVE-2019-0191 has a severity level of 6.5 (medium).
What software is affected by CVE-2019-0191?
Apache Karaf versions up to and including 4.2.3 are affected by CVE-2019-0191.
What is the Common Weakness Enumeration (CWE) ID for CVE-2019-0191?
The CWE ID for CVE-2019-0191 is CWE-22.
Are there any references available for CVE-2019-0191?
Yes, here are some references for CVE-2019-0191: [1] [2] [3].