{"cve":"CVE-2022-23457","nvd":{"published":"2022-04-25T20:15:41.870","modified":"2026-06-17T04:30:09.737","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22"],"references":["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://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"],"products":["netapp:active_iq_unified_manager","netapp:oncommand_workflow_automation","oracle:weblogic_server","owasp:enterprise_security_api"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-23457","score":0.02849,"percentile":0.86711,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8m5h-hrqm-pxm2","url":"https://osv.dev/vulnerability/GHSA-8m5h-hrqm-pxm2","summary":"Path traversal in the OWASP Enterprise Security API","modified":"2025-11-03T22:32:59.652841Z","packages":[{"ecosystem":"Maven","name":"org.owasp.esapi:esapi","purl":"pkg:maven/org.owasp.esapi/esapi","ranges":["<2.3.0.0"],"fixed":["2.3.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}