Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2022-22932 EUVD-2022-0454GHSA-544x-2jx9-4pfg

Path traversal flaws

Published Jan 26, 2022 · Updated Aug 3, 2024 · Assigned by apache

Description

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

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Karaf Apache Karaf – < 4.2.15 4.2.15

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.karaf:apache-karaf >= 4.3.0, < 4.3.6 4.3.6 GHSA-544x-2jx9-4pfg
Maven org.apache.karaf:apache-karaf < 4.2.15 4.2.15 GHSA-544x-2jx9-4pfg

Advisories 1

References