Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Owasp | Enterprise Security Api | < 2.3.0.0 |
| Oracle | Weblogic Server | 12.2.1.3.0 |
| Netapp | Active Iq Unified Manager | - |
| Netapp | Oncommand Workflow Automation | - |
Related Weaknesses (CWE)
References
- https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4javaRelease Notes
- https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-8m5h-hrqm-pxPatchThird Party Advisory
- https://security.netapp.com/advisory/ntap-20230127-0014/Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_SecExploitThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatchThird Party Advisory
- https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4javaRelease Notes
- https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-8m5h-hrqm-pxPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html
- https://security.netapp.com/advisory/ntap-20230127-0014/Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_SecExploitThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatchThird Party Advisory
FAQ
What is CVE-2022-23457?
CVE-2022-23457 is a vulnerability with a CVSS score of 7.5 (HIGH). 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(Str...
How severe is CVE-2022-23457?
CVE-2022-23457 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-23457?
Check the references section above for vendor advisories and patch information. Affected products include: Owasp Enterprise Security Api, Oracle Weblogic Server, Netapp Active Iq Unified Manager, Netapp Oncommand Workflow Automation.