karaf: Zip-slip vulnerability via kar file
Published Mar 20, 2019
6.5
MEDIUMCVSS 3.0
EPSS 4.86%
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.
Affected products
-
- Version Apache Karaf version prior to 4.2.3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache | Apache Karaf | n/a |
|
No data.
Red Hat Fuse 7
karaf
Not affected
Red Hat JBoss A-MQ 6
karaf
Out of support scope
Red Hat JBoss Fuse 6
karaf
Out of support scope
Red Hat JBoss Fuse Service Works 6
karaf
Out of support scope
Red Hat OpenStack Platform 10 (Newton)
opendaylight
Will not fix
Red Hat OpenStack Platform 13 (Queens)
opendaylight
Will not fix
Red Hat OpenStack Platform 14 (Rocky)
opendaylight
Will not fix
Red Hat OpenStack Platform 8 (Liberty)
opendaylight
Will not fix
Red Hat OpenStack Platform 9 (Mitaka)
opendaylight
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7 | karaf | Not affected | n/a |
| Red Hat JBoss A-MQ 6 | karaf | Out of support scope | n/a |
| Red Hat JBoss Fuse 6 | karaf | Out of support scope | n/a |
| Red Hat JBoss Fuse Service Works 6 | karaf | Out of support scope | n/a |
| Red Hat OpenStack Platform 10 (Newton) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 13 (Queens) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 14 (Rocky) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 8 (Liberty) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | opendaylight | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
All versions of Red Hat OpenStack Platform's OpenDaylight contain the vulnerable code. However, the vulnerability is not exploitable given the way the library is used within OpenDaylight, and therefore no packages will be updated. OpenDaylight was technical preview prior to OpenStack 13 and deprecated in OpenStack 14.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:S/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 4.86% (0.04858) | 91.77th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.95% (0.04949) | 91.02th | v5 (v2026.06.15) |
| Jan 3, 2026 | 3.76% (0.03764) | 87.75th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.35% (0.05347) | 89.10th | v4 (v2025.03.14) |
| Mar 29, 2025 | 7.59% (0.07590) | 86.14th | v4 (v2025.03.14) |
| Mar 24, 2025 | 5.35% (0.05347) | 89.11th | v4 (v2025.03.14) |
| Mar 19, 2025 | 7.59% (0.07590) | 90.76th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.84% (0.05838) | 89.86th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.10% (0.00096) | 42.05th | v3 (v2023.03.01) |
| Jan 24, 2024 | 0.10% (0.00096) | 39.99th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.08% (0.00084) | 35.34th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.08% (0.00081) | 32.95th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00890) | 30.33th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00890) | 28.64th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00890) | 26.62th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.37% (0.05372) | 76.24th | v2 (v2022.01.01) |
| Feb 3, 2022 | 10.18% (0.10179) | 87.37th | v1 |
| Jan 6, 2022 | 10.18% (0.10179) | 87.22th | v1 |
| Sep 1, 2021 | 2.46% (0.02463) | 78.49th | v1 |
| Apr 14, 2021 | 2.46% (0.02463) | 0.00th | v1 |
References (10)
- http://www.securityfocus.com/bid/107462 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2019-0191 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1696000 Issue Tracking
- https://github.com/advisories/GHSA-869j-5855-hjpm Advisory
- https://lists.apache.org/thread.html/6856aa7ed7dd805eaf65d0e5e95027dda3b2307aacd1ab4a838c5cd1%40%3Cuser.karaf.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/6856aa7ed7dd805eaf65d0e5e95027dda3b2307aacd1ab4a838c5cd1@%3Cuser.karaf.apache.org%3E
- https://lists.apache.org/thread.html/cef9a2d4b547625e5214684283ac5c59c9d9740e092e777dc3f85070%40%3Ccommits.karaf.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/cef9a2d4b547625e5214684283ac5c59c9d9740e092e777dc3f85070@%3Ccommits.karaf.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2019-0191
- https://www.cve.org/CVERecord?id=CVE-2019-0191
Change history (0)
No recorded changes yet.