ESAPI up to 2.2.x Validator.getValidDirectoryPath path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.8 | $0-$5k | 0.00 |
Summary
A vulnerability was found in ESAPI up to 2.2.x. It has been declared as critical. The affected element is the function Validator.getValidDirectoryPath. Such manipulation leads to path traversal.
This vulnerability is uniquely identified as CVE-2022-23457. The attack can be launched remotely. No exploit exists.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in ESAPI up to 2.2.x. It has been rated as critical. Affected by this issue is the function Validator.getValidDirectoryPath. The manipulation with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. 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. Impacted is confidentiality, integrity, and availability.
The weakness was disclosed 04/26/2022 as GHSA-8m5h-hrqm-pxm2. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2022-23457 since 01/19/2022. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1006.
The vulnerability scanner Nessus provides a plugin with the ID 242493 (Debian dla-4246 : libowasp-esapi-java - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.3.0.0 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (242493) and EUVD (EUVD-2022-1678). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.9VulDB Meta Temp Score: 7.8
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 242493
Nessus Name: Debian dla-4246 : libowasp-esapi-java - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: ESAPI 2.3.0.0
Timeline
01/19/2022 🔍04/26/2022 🔍
04/26/2022 🔍
03/31/2026 🔍
Sources
Advisory: GHSA-8m5h-hrqm-pxm2Status: Confirmed
Confirmation: 🔍
CVE: CVE-2022-23457 (🔍)
GCVE (CVE): GCVE-0-2022-23457
GCVE (VulDB): GCVE-100-198512
EUVD: 🔍
Entry
Created: 04/26/2022 10:25Updated: 03/31/2026 19:02
Changes: 04/26/2022 10:25 (50), 04/29/2022 16:04 (1), 04/29/2022 16:10 (1), 07/22/2025 16:43 (16), 11/04/2025 13:50 (19), 03/31/2026 19:02 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.