Bug 2046279 (CVE-2022-22932)

Summary: CVE-2022-22932 karaf: path traversal flaws
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aileenc, akoufoud, alazarot, anstephe, ataylor, chazlett, drieden, etirelli, gmalinko, hbraun, ibek, janstey, jnethert, jochrist, jprivett, jrokos, jross, jstastny, jwon, krathod, kverlaen, mnovotny, pantinor, pdelbell, pjindal, rrajasek, tzimanyi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Apache Karaf obr:* command, where a partial path traversal issue allows a break out of the expected folder. This entry is set by the user.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-07 18:38:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2046286    

Description Guilherme de Almeida Suckevicz 2022-01-26 14:02:59 UTC
Apache Karaf obr:* commands and run goal on the karaf-maven-plugin have partial path traversal which allows to break out of expected folder. The risk is low as obr:* commands are not very used and the entry is set by user.

This has been fixed in revision:
https://gitbox.apache.org/repos/asf?p=karaf.git;h=36a2bc4
https://gitbox.apache.org/repos/asf?p=karaf.git;h=52b70cf

Mitigation:
Apache Karaf users should upgrade to 4.2.15 or 4.3.6 or later as soon as possible, or use correct path.

JIRA Tickets:
https://issues.apache.org/jira/browse/KARAF-7326

Comment 8 jprivett 2022-03-22 17:46:46 UTC
Mitigation:
Apache Karaf users should upgrade to 4.2.15 or 4.3.6 or later as soon as possible, or use the correct path.

Comment 12 errata-xmlrpc 2022-07-07 14:22:03 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.11

Via RHSA-2022:5532 https://access.redhat.com/errata/RHSA-2022:5532

Comment 13 Product Security DevOps Team 2022-07-07 18:38:26 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-2022-22932