SCA: security update for org.owasp.esapi:esapi (GHSA-8m5h-hrqm-pxm2)

critical Tenable Cloud Security Plugin ID 412749

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-23457)

See Also

https://github.com/advisories/GHSA-8m5h-hrqm-pxm2

Plugin Details

Severity: Critical

ID: 412749

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.51

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-23457

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/27/2022

Vulnerability Publication Date: 4/25/2022

Reference Information

CVE: CVE-2022-23457

cwe: CWE-22