{"answers":{"affected":"2 open source packages ship an affected version, including org.owasp.esapi:esapi. It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-23457 exists.","fix":"Upgrade org.owasp.esapi:esapi to 2.3.0.0 or later.","what":"CVE-2022-23457 is a high-severity path traversal vulnerability in Netapp Active Iq Unified Manager, published on 25 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23457 and fix it if it is affected.\n\nWhat it is: CVE-2022-23457 is a high-severity path traversal vulnerability in Netapp Active Iq Unified Manager, published on 25 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-23457 exists.\n\nAffected packages and fixed versions:\n- org.owasp.esapi:esapi (Maven): affected all versions; fixed in 2.3.0.0\n- org.owasp.esapi:esapi (Maven): affected all versions; fixed in 2.3.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23457/ (Markdown: https://insights.sbomify.com/CVE-2022-23457/index.md)","id":"CVE-2022-23457","markdown":"https://insights.sbomify.com/CVE-2022-23457/index.md","name":"CVE-2022-23457","record":{"aliases":["DEBIAN-CVE-2022-23457","GHSA-8m5h-hrqm-pxm2","UBUNTU-CVE-2022-23457"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java security library","requires_auth":"low_privilege","summary":"Attackers can bypass directory path validation checks in the OWASP ESAPI library, potentially accessing unauthorized files or directories.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"oncommand_workflow_automation","vendor":"netapp"},{"product":"weblogic_server","vendor":"oracle"},{"product":"enterprise_security_api","vendor":"owasp"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-08-16","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-16T14:00:43Z","kind":"github_poc","ref":"https://github.com/shoucheng3/ESAPI__esapi-java-legacy_CVE-2022-23457_2-2-3-1","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Path Traversal in ESAPI","id":"CVE-2022-23457","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:active_iq_unified_manager","products":["netapp:active_iq_unified_manager","netapp:oncommand_workflow_automation","oracle:weblogic_server"],"type":"path_traversal","year":"2022"},"n_packages":2,"n_references":5,"next":{"headline":"Toast UI Grid vulnerable to Cross-site scripting","id":"CVE-2022-23458"},"packages":[{"ecosystem":"Maven","fixed":["2.3.0.0"],"introduced":["0"],"last_affected":[],"package":"org.owasp.esapi:esapi","purl":null,"source":"GHSA-8m5h-hrqm-pxm2"},{"ecosystem":"Maven","fixed":["2.3.0.0"],"introduced":["0"],"last_affected":[],"package":"org.owasp.esapi:esapi","purl":"pkg:maven/org.owasp.esapi/esapi","source":"GHSA-8m5h-hrqm-pxm2"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2022-23456"},"products":["org.owasp.esapi:esapi"],"published":"2022-04-25","related":[{"cvss_score":9.8,"headline":"Spring Security authorization rules can be bypassed via forward or include dispatcher types","id":"CVE-2022-31692","kev_date_added":null,"published":"2022-10-31"},{"cvss_score":9.8,"headline":"Use after free in systemd-resolved","id":"CVE-2022-2526","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":9.8,"headline":"Authorization bypass in Spring Security","id":"CVE-2022-22978","kev_date_added":null,"published":"2022-05-19"},{"cvss_score":9.8,"headline":"Code injection in Node","id":"CVE-2021-22931","kev_date_added":null,"published":"2021-08-16"},{"cvss_score":9,"headline":"Code injection in Java","id":"CVE-2018-2938","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.3,"headline":"Code injection in Java","id":"CVE-2018-2941","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.3,"headline":"Code injection in Java","id":"CVE-2018-2942","kev_date_added":null,"published":"2018-07-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["OWASP ESAPI"]},"summary":"Attackers can bypass directory path validation checks in the OWASP ESAPI library, potentially accessing unauthorized files or directories.","url":"https://insights.sbomify.com/CVE-2022-23457/"}