CVE-2019-0191

karaf: Zip-slip vulnerability via kar file

Published Mar 20, 2019 CVSS 3.0 · 6.5 Medium EPSS 4.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-0374 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.
Github GHSA Github GHSA GHSA-869j-5855-hjpm Moderate severity vulnerability that affects org.apache.karaf:apache-karaf and org.apache.karaf:karaf
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 4, 2024, 5:44 PM
Reserved
Nov 14, 2018, 12:00 AM
Status
Modified
Published
Mar 21, 2019, 4:01 PM
Modified
Jun 17, 2026, 2:07 AM
Severity
Low
Public date
Mar 7, 2019, 12:00 AM