Advisory

USN-8181-1

Also known as: CVE-2022-23457, CVE-2022-24891, CVE-2025-5878

Summary

libowasp-esapi-java vulnerabilities

Details

Jaroslav Lobačevski discovered that ESAPI incorrectly validated directory
paths during path verification. An attacker could possibly use this issue
to bypass directory validation checks, leading to control-flow bypass. This
issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
and Ubuntu 22.04 LTS. (CVE-2022-23457)

Kevin W. Wall and Sebastian Passaro discovered that ESAPI did not properly
sanitize javascript URLs because of an incorrect regular expression. An
attacker could possibly use this issue to perform a cross-site scripting
attack. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu
20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-24891)

Longlong Gong discovered that ESAPI did not properly neutralize special
elements during SQL injection defense. A remote attacker could possibly use
this issue to perform SQL injection. (CVE-2025-5878)

Severity

Not rated by the source.

Dates

Published
2026-04-16 17:56 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

libowasp-esapi-java

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.4.0.0-2ubuntu0.1 (ecosystem)

Fixed versions

2.4.0.0-2ubuntu0.1

Fix

  • Fixed version 2.4.0.0-2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences