# CVE-2022-23457: Path Traversal in ESAPI

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-04-25 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2022-23457, DEBIAN-CVE-2022-23457, GHSA-8m5h-hrqm-pxm2
- Record: https://cvemate.com/vulnerability/CVE-2022-23457 · JSON: https://cvemate.com/vulnerability/CVE-2022-23457/json

## Description

```text
ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library. Prior to version 2.3.0.0, the default implementation of `Validator.getValidDirectoryPath(String, String, File, boolean)` may incorrectly treat the tested input string as a child of the specified parent directory. This potentially could allow control-flow bypass checks to be defeated if an attack can specify the entire string representing the 'input' path. This vulnerability is patched in release 2.3.0.0 of ESAPI. As a workaround, it is possible to write one's own implementation of the Validator interface. However, maintainers do not recommend this.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.849%, percentile 87.159%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian libowasp-esapi-java (Debian): \< 2.4.0.0-1
- ubuntu libowasp-esapi-java (Ubuntu): \< 2.1.0-2ubuntu0.1~esm1 \| \< 2.1.0-3ubuntu0.18.04.1~esm1 \| \< 2.1.0-3ubuntu0.20.04.1~esm1 \| \< 2.2.3.1-1ubuntu0.1~esm1
- org.owasp.esapi esapi (Maven): \< 2.3.0.0
- netapp active\_iq\_unified\_manager: na
- netapp oncommand\_workflow\_automation: na
- oracle weblogic\_server: 12.2.1.3.0 \| 12.2.1.4.0 \| 14.1.1.0.0
- owasp esapi org.owasp.esapi:esapi: ≥ 2.3.0.0, \< 2.3.0.0
- owasp enterprise\_security\_api: \< 2.3.0.0

## References

- <https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API/>
- <https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-8m5h-hrqm-pxm2>
- <https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <https://security.netapp.com/advisory/ntap-20230127-0014/>
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html>
- <https://ubuntu.com/security/CVE-2022-23457>
- <https://www.cve.org/CVERecord?id=CVE-2022-23457>
- <https://ubuntu.com/security/notices/USN-8181-1>
- <https://security-tracker.debian.org/tracker/CVE-2022-23457>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23457>
- <https://github.com/ESAPI/esapi-java-legacy/commit/a0d67b75593878b1b6e39e2acc1773b3effedb2a>
- <https://github.com/ESAPI/esapi-java-legacy>
- <https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/GHSL-2022-008_The_OWASP_Enterprise_Security_API.md>
- <https://security.netapp.com/advisory/ntap-20230127-0014>
- <https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API>

---

Data as of 2026-12-05T08:28:40.602Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
