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.

Project Subscriptions

Vendors Products
Active Iq Unified Manager Subscribe
Oncommand Workflow Automation Subscribe
Weblogic Server Subscribe
Enterprise Security Api Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4246-1 libowasp-esapi-java security update
EUVD EUVD EUVD-2022-1678 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.
Github GHSA Github GHSA GHSA-8m5h-hrqm-pxm2 Path traversal in the OWASP Enterprise Security API
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 03 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Tue, 22 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-03T19:26:49.494Z

Reserved: 2022-01-19T00:00:00.000Z

Link: CVE-2022-23457

cve-icon Vulnrichment

Updated: 2025-11-03T19:26:49.494Z

cve-icon NVD

Status : Modified

Published: 2022-04-25T20:15:41.870

Modified: 2025-11-03T20:15:52.767

Link: CVE-2022-23457

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses