CVE-2019-0191

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

Risk Information

Base Score
6.5
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS Score
Exploitation Probability
3.628

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2019-0191 are fixed in Apache Karaf 4.2.3Windows
Vulnerabilities CVE-2019-0191 are fixed in Apache - apache-karaf 4.2.3Windows
Vulnerabilities CVE-2019-0191 are fixed in Apache Karaf for Linux 4.2.3Linux
Vulnerabilities CVE-2019-0191 are fixed in Apache - apache-karaf for Linux 4.2.3Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234