logo

CVE-2019-0191 org.apache.karaf:karaf

Package

Manager: maven
Name: org.apache.karaf:karaf
Vulnerable Version: >=0 <4.2.3

Severity

Level: Medium

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.05092 pctl0.89408

Details

Moderate severity vulnerability that affects org.apache.karaf:apache-karaf and org.apache.karaf:karaf 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.

Metadata

Created: 2019-03-25T16:16:44Z
Modified: 2021-09-03T22:59:29Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/03/GHSA-869j-5855-hjpm/GHSA-869j-5855-hjpm.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-869j-5855-hjpm
Finding: F063
Auto approve: 1