SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2019-0191

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.

MEDIUM 6.5EPSS 4.86%

Does this matter?

Lower severity and a low EPSS score (4.86%). Track it; it rarely justifies an emergency change on its own.

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 3.0
6.5 MEDIUMCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
4.86% probability · 92th percentile
CISA KEV
Not listed
Weakness
CWE-22
Affected
apache/karaf
Source
security@apache.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.