{"schemaVersion":3,"id":"CVE-2022-23457","aliases":["UBUNTU-CVE-2022-23457","DEBIAN-CVE-2022-23457","GHSA-8m5h-hrqm-pxm2"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-04-25T00:00:00.000Z","modified":"2025-11-03T19:26:49.494Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02849,"percentile":0.86512,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02849},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02849,"percentile":0.86512}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02849,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02849,"percentile":0.86512}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ADVISORIES_GHSL-2022-008_THE_OWASP_ENTERPRISE_SECURITY_API","name":"Ghsl 2022 008 The Owasp Enterprise Security Api","source":"github","url":"https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API/","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"libowasp-esapi-java","name":"libowasp-esapi-java","label":"libowasp-esapi-java","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libowasp-esapi-java","purlType":"deb","versions":[{"text":"< 2.4.0.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.0.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libowasp-esapi-java","name":"libowasp-esapi-java","label":"libowasp-esapi-java","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libowasp-esapi-java","purlType":"deb","versions":[{"text":"< 2.1.0-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-3ubuntu0.18.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-3ubuntu0.20.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.2.3.1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.0-2ubuntu0.1~esm1 | < 2.1.0-3ubuntu0.18.04.1~esm1 | < 2.1.0-3ubuntu0.20.04.1~esm1 | < 2.2.3.1-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"org.owasp.esapi","product":"esapi","name":"org.owasp.esapi:esapi","label":"esapi","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.owasp.esapi/esapi","purlType":"maven","versions":[{"text":"< 2.3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0.0","eol":null,"hubHref":null},{"vendor":"netapp","product":"active_iq_unified_manager","name":"active iq unified manager","label":"active_iq_unified_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/active_iq_unified_manager"},{"vendor":"netapp","product":"oncommand_workflow_automation","name":"oncommand workflow automation","label":"oncommand_workflow_automation","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/oncommand_workflow_automation"},{"vendor":"oracle","product":"weblogic_server","name":"WebLogic Server","label":"weblogic_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"12.2.1.3.0","noFixRecorded":false,"fixedIn":null},{"text":"12.2.1.4.0","noFixRecorded":false,"fixedIn":null},{"text":"14.1.1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.2.1.3.0 | 12.2.1.4.0 | 14.1.1.0.0","eol":null,"hubHref":"/vendor/oracle/weblogic_server"},{"vendor":"owasp esapi","product":"org.owasp.esapi:esapi","name":"org.owasp.esapi:esapi","label":"org.owasp.esapi:esapi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.3.0.0, < 2.3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.3.0.0, < 2.3.0.0","eol":null,"hubHref":null},{"vendor":"owasp","product":"enterprise_security_api","name":"enterprise security api","label":"enterprise_security_api","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0.0","eol":null,"hubHref":"/vendor/owasp/enterprise_security_api"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API/","label":"securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API/","hostname":"securitylab.github.com","tags":["REPORT","Exploit","Third Party Advisory"]},{"url":"https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-8m5h-hrqm-pxm2","label":"github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-8m5h-hrqm-pxm2","hostname":"github.com","tags":["REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt","label":"github.com/ESAPI/…","hostname":"github.com","tags":["REPORT","WEB","Release Notes"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","label":"www.oracle.com/security-alerts/cpujul2022.html","hostname":"www.oracle.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230127-0014/","label":"security.netapp.com/advisory/ntap-20230127-0014/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html","label":"lists.debian.org/debian-lts-announce/2025/07/msg00010.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-23457","label":"ubuntu.com/security/CVE-2022-23457","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23457","label":"www.cve.org/CVERecord?id=CVE-2022-23457","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8181-1","label":"ubuntu.com/security/notices/USN-8181-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-23457","label":"security-tracker.debian.org/tracker/CVE-2022-23457","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23457","label":"nvd.nist.gov/vuln/detail/CVE-2022-23457","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ESAPI/esapi-java-legacy/commit/a0d67b75593878b1b6e39e2acc1773b3effedb2a","label":"github.com/ESAPI/esapi-java-legacy/commit/a0d67b75593878b1b6e39e2acc1773b3effedb2a","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ESAPI/esapi-java-legacy","label":"github.com/ESAPI/esapi-java-legacy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/GHSL-2022-008_The_OWASP_Enterprise_Security_API.md","label":"github.com/ESAPI/…","hostname":"github.com","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20230127-0014","label":"security.netapp.com/advisory/ntap-20230127-0014","hostname":"security.netapp.com","tags":["WEB"]},{"url":"https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API","label":"securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API","hostname":"securitylab.github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4246-1"],"duplicates":[],"related":["USN-8181-1"]},"timeline":[{"kind":"published","date":"2022-04-25T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:26:49.494Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:36:19.534Z","stale":false,"partial":false}}