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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published: 2019-03-20T17:05:18

Updated: 2024-08-04T17:44:14.755Z

Reserved: 2018-11-14T00:00:00

Link: CVE-2019-0191

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-03-21T16:01:01.827

Modified: 2024-11-21T04:16:27.020

Link: CVE-2019-0191

cve-icon Redhat

Severity : Low

Publid Date: 2019-03-07T00:00:00Z

Links: CVE-2019-0191 - Bugzilla