Bug 1696000 (CVE-2019-0191) - CVE-2019-0191 karaf: Zip-slip vulnerability via kar file
Summary: CVE-2019-0191 karaf: Zip-slip vulnerability via kar file
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2019-0191
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1696001
TreeView+ depends on / blocked
 
Reported: 2019-04-04 02:28 UTC by Pedro Sampaio
Modified: 2021-02-16 22:09 UTC (History)
21 users (show)

Fixed In Version: karaf 4.2.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-10 19:24:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2019-04-04 02:28:01 UTC
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.

References:

https://lists.apache.org/thread.html/6856aa7ed7dd805eaf65d0e5e95027dda3b2307aacd1ab4a838c5cd1@%3Cuser.karaf.apache.org%3E

Comment 1 Joshua Padman 2019-04-08 04:56:06 UTC
OpenDaylight was technical preview prior to OpenStack 13 and is being deprecated in OpenStack 14, refer to the following URL for more information.
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html-single/release_notes/index#deprecated_functionality

Comment 3 Summer Long 2019-04-09 23:55:03 UTC
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.

Comment 4 Joshua Padman 2019-05-15 23:02:17 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss A-MQ 6
 * Red Hat JBoss Fuse Service Works 6
 * Red Hat JBoss Fuse 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 6 Product Security DevOps Team 2019-12-10 19:24:02 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-0191


Note You need to log in before you can comment on or make changes to this bug.