CVE-2022-23457

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-23457
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23457.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23457
Aliases
Related
Published
2022-04-25T20:15:41Z
Modified
2024-09-18T03:20:14.592356Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / libowasp-esapi-java

Package

Name
libowasp-esapi-java
Purl
pkg:deb/debian/libowasp-esapi-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.0-3.1
2.2.3.1-1~bpo11+1
2.2.3.1-1
2.4.0.0-1
2.4.0.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libowasp-esapi-java

Package

Name
libowasp-esapi-java
Purl
pkg:deb/debian/libowasp-esapi-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.0.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libowasp-esapi-java

Package

Name
libowasp-esapi-java
Purl
pkg:deb/debian/libowasp-esapi-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.0.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/esapi/esapi-java-legacy

Affected ranges

Type
GIT
Repo
https://github.com/esapi/esapi-java-legacy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

esapi-2.*

esapi-2.1.0.1
esapi-2.2.0.0
esapi-2.2.0.0-RC1
esapi-2.2.0.0-RC2
esapi-2.2.0.0-RC3
esapi-2.2.1.0
esapi-2.2.1.0-RC1
esapi-2.2.1.1
esapi-2.2.2.0
esapi-2.2.3.0