MODERATE 5.3

CVE-2022-22932

Path traversal in Apache Karaf

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.karaf » apache-karaf
< 4.2.15>= 4.3.0, < 4.3.6
4.2.15, 4.3.6

Blast radius

1affected artifacts
716affected versions
115dependent artifacts (est.)
3,824dependent versions

52% of the dependent artifacts (60) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,048
2 hops
1,334
3 hops
373
4 hops
49
5 hops
20

Most used dependents

Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgitbox.apache.org
Webgitbox.apache.org
Webissues.apache.org
Webkaraf.apache.org