CVE-2019-0191Apache Karaf
Medium 6.5
Follow: this CVE · Apache · Apache Karaf We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.0
- 6.5
- EPSS
- 4.9% probability of exploitation in 30 days · percentile 93
- Auth required
- Yes
- Published
- Mar 21, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Karaf.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.karaf:apache-karaf |
< 4.2.3 |
4.2.3 |
— |
| Maven | org.apache.karaf:karaf |
< 4.2.3 |
4.2.3 |
— |
Per OSV / GitHub Advisories (GHSA-869j-5855-hjpm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | karaf | < 4.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- lists.apache.org
- lists.apache.org