WaratekVRT Sign in

CVE-2022-22932 Apache Karaf

Affected softwareApache Karaf
Severity5.3 Medium CVSS 3.1 2 scores
Fixed in4.3.6, 4.2.15
WeaknessPath traversal (CWE-22)
Published26 Jan 2022
Updated17 Jun 2026

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

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.8% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2022-22932

Upgrade Apache Karaf to a release that fixes it: 4.3.6 or 4.2.15. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.3 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.karaf:apache-karaf 4.3.0 4.3.6 unbounded
org.apache.karaf:apache-karaf 0 4.2.15 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache karaf generic < 4.2.15 · ≥ 4.3.0 and < 4.3.6
osv org.apache.karaf apache-karaf generic < 4.2.15 · ≥ 4.3.0 and < 4.3.6

References

URLTags
https://github.com/apache/karaf/pull/1485 WEB
https://gitbox.apache.org/repos/asf?p=karaf.git;h=36a2bc4 WEB
https://gitbox.apache.org/repos/asf?p=karaf.git;h=52b70cf WEB
https://github.com/apache/karaf PACKAGE
https://issues.apache.org/jira/browse/KARAF-7326 WEB
https://karaf.apache.org/security/cve-2022-22932.txt WEB

Timeline

Published2022-01-26By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.