CVE-2022-23457
published high CVSS 3.1 · 7.5Path Traversal in ESAPI
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OWASP ESAPI | — | org.owasp.esapi:esapi2.3.0.0 to < 2.3.0.0 | Affected | Not stated | GitHub_M |
| Debian | bullseye | libowasp-esapi-java | Advisory build | 2.4.0.0-0+deb11u1 | DLA-4246-1 |
| Ubuntu | bionic | libowasp-esapi-java | Advisory build | 2.1.0-3ubuntu0.18.04.1~esm1 | USN-8181-1 |
| Ubuntu | focal | libowasp-esapi-java | Advisory build | 2.1.0-3ubuntu0.20.04.1~esm1 | USN-8181-1 |
| Ubuntu | jammy | libowasp-esapi-java | Advisory build | 2.2.3.1-1ubuntu0.1~esm1 | USN-8181-1 |
| Ubuntu | xenial | libowasp-esapi-java | Advisory build | 2.1.0-2ubuntu0.1~esm1 | USN-8181-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OWASP ESAPI | org.owasp.esapi:esapi | 2.3.0.0 to < 2.3.0.0 (affected · custom) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
6- https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt
- https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-8m5h-hrqm-pxm2
- https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html
- https://security.netapp.com/advisory/ntap-20230127-0014/
- https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API/
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
3GitHub_M · cna
Path Traversal in ESAPI
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 31129398b7c890a93363386c6d67f0a441c2e02eb17c002622eeb98a7c7a0d49
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record