# CVE-2022-23457: libowasp-esapi-java: ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library

CVE-2022-23457 is fixed in libowasp-esapi-java on 1 platform, first by DEBIAN-CVE-2022-23457, released April 25, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-23457
- Priority: High
- CVSS: 9.8 (Low)
- EPSS: 0.0285
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 25, 2022

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libowasp-esapi-java Debian 11.6 (bullseye) | 2.4.0.0-0+deb11u1 | [DLA-4246-1](https://patchblox.com/security/data/fix/linux/dla-4246-1.md) | Jul 21, 2025 |
| Linux | libowasp-esapi-java Debian 12.15 (bookworm) | 2.4.0.0-1 | [DEBIAN-CVE-2022-23457](https://patchblox.com/security/data/fix/linux/debian-cve-2022-23457.md) | Apr 25, 2022 |
| Linux | libowasp-esapi-java Debian 13.5 (trixie) | 2.4.0.0-1 | [DEBIAN-CVE-2022-23457](https://patchblox.com/security/data/fix/linux/debian-cve-2022-23457.md) | Apr 25, 2022 |
| Linux | libowasp-esapi-java Ubuntu 18.04.6 LTS (bionic) | 2.1.0-3ubuntu0.18.04.1~esm1 | [libowasp-esapi-java 2.1.0-3ubuntu0.18.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libowasp-esapi-java-2.1.0-3ubuntu0.18.04.1-esm1.md) | Jun 29, 2025 |
| Linux | libowasp-esapi-java Ubuntu 20.04 LTS (focal) | 2.1.0-3ubuntu0.20.04.1~esm1 | [libowasp-esapi-java 2.1.0-3ubuntu0.20.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libowasp-esapi-java-2.1.0-3ubuntu0.20.04.1-esm1.md) | Jun 29, 2025 |
| Linux | libowasp-esapi-java Ubuntu 22.04.1 LTS (jammy) | 2.2.3.1-1ubuntu0.1~esm1 | [libowasp-esapi-java 2.2.3.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libowasp-esapi-java-2.2.3.1-1ubuntu0.1-esm1.md) | Jun 29, 2025 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
