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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.karaf » apache-karaf | < 4.2.15>= 4.3.0, < 4.3.6 | 4.2.15, 4.3.6 |
Blast radius
52% of the dependent artifacts (60) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,048 |
| 2 hops | 1,334 |
| 3 hops | 373 |
| 4 hops | 49 |
| 5 hops | 20 |
Most used dependents
- io.fabric8 » fabric8-maven-plugin676 usages
- org.opendaylight.odlparent » features-test93 usages
- org.codice.ddf » kernel27 usages
- io.fabric8 » fabric8-karaf15 usages
- org.apache.karaf.itests » itests9 usages
- pentaho » pentaho-karaf-assembly8 usages
- org.jboss.fuse » jboss-fuse8 usages
- org.apache.karaf.tooling » org.apache.karaf.tooling.testing7 usages
- pentaho » pentaho-big-data-plugin6 usages
- org.openengsb.framework » openengsb-framework6 usages
- org.fusesource.fabric » fuse-fabric6 usages
- org.apache.camel » camel-test-karaf5 usages
- org.apache.camel » apache-camel5 usages
- org.codice.ddf » ddf5 usages
- org.opendaylight.odlparent » karaf-plugin5 usages
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
| Advisory | NVD CVE-2022-22932 | nvd.nist.gov |
| Package | apache/karaf | github.com |
| Web | apache/karaf pull request #1485 | github.com |
| Web | repos/asf | gitbox.apache.org |
| Web | repos/asf | gitbox.apache.org |
| Web | jira/browse/KARAF-7326 | issues.apache.org |
| Web | security/cve-2022-22932.txt | karaf.apache.org |
