{"id":"CVE-2019-0191","published":"2019-03-20T17:05:18Z","modified":"2024-08-04T17:44:14Z","title":"Apache Karaf kar deployer reads .kar archives and extracts the paths from the \"repository/\" and \"resources/\" entries…","vendor":"Apache","product":"Apache Karaf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04858,"percentile":0.92241,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/6856aa7ed7dd805eaf65d0e5e95027dda3b2307aacd1ab4a838c5cd1%40%3Cuser.karaf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/107462","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://lists.apache.org/thread.html/cef9a2d4b547625e5214684283ac5c59c9d9740e092e777dc3f85070%40%3Ccommits.karaf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":18.45}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache","product":"Apache Karaf","versions":["Apache Karaf version prior to 4.2.3"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.karaf:karaf","vulnerableRanges":["<4.2.3"],"patched":["4.2.3"],"from":["GHSA-869j-5855-hjpm"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.karaf:apache-karaf","vulnerableRanges":["<4.2.3"],"patched":["4.2.3"],"from":["GHSA-869j-5855-hjpm"],"provenance":"source"}],"summary":{"text":"The Apache Karaf kar deployer, which reads .kar archives and extracts their \"repository/\" and \"resources/\" entries into the Karaf repo and resources directories, does not validate the paths inside the zip file, allowing crafted entries containing \"..\" to escape the intended directories (a \"Zip-slip\" flaw). An attacker who can supply a malicious .kar file to the deployer can write arbitrary content to the filesystem, with the impact limited where the Karaf process user has restricted filesystem permissions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:14Z"},"euvd":{"id":"EUVD-2019-0374","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2014-0219","published":"2017-11-15","fixed":"4.0.10","kev":false},{"cve":"CVE-2018-11787","published":"2018-09-18","fixed":"4.1.1","kev":false},{"cve":"CVE-2018-11786","published":"2018-09-18","fixed":"4.2.0","kev":false,"link":{"from":"CVE-2018-11786","to":"CVE-2019-0191","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.karaf:apache-karaf","fromFixed":"4.2.0","toFixed":"4.2.3","daysApart":183}]}},{"cve":"CVE-2019-0191","published":"2019-03-20","fixed":"4.2.3","kev":false},{"cve":"CVE-2022-22932","published":"2022-01-26","fixed":"4.3.6","kev":false},{"cve":"CVE-2022-40145","published":"2022-12-21","fixed":"4.4.2","kev":false}],"package":"Maven:org.apache.karaf:apache-karaf"}}