libowasp-esapi-java: CVE-2022-24891 CVE-2022-23457 - cross-site-scripting and control-flow bypass

Related Vulnerabilities: CVE-2022-24891   CVE-2022-23457  

Debian Bug report logs - #1010339
libowasp-esapi-java: CVE-2022-24891 CVE-2022-23457 - cross-site-scripting and control-flow bypass

version graph

Reported by: Neil Williams <codehelp@debian.org>

Date: Fri, 29 Apr 2022 08:03:01 UTC

Severity: important

Tags: security

Found in version libowasp-esapi-java/2.2.3.1-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, codehelp@debian.org, team@security.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#1010339; Package src:libowasp-esapi-java. (Fri, 29 Apr 2022 08:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Neil Williams <codehelp@debian.org>:
New Bug report received and forwarded. Copy sent to codehelp@debian.org, team@security.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Fri, 29 Apr 2022 08:03:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Neil Williams <codehelp@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libowasp-esapi-java: CVE-2022-24891 CVE-2022-23457 - cross-site-scripting and control-flow bypass
Date: Fri, 29 Apr 2022 09:01:05 +0100
Source: libowasp-esapi-java
Version: 2.2.3.1-1
Severity: important
Tags: security
X-Debbugs-Cc: codehelp@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerabilities were published for libowasp-esapi-java.

CVE-2022-24891[0]:
| ESAPI (The OWASP Enterprise Security API) is a free, open source, web
| application security control library. Prior to version 2.3.0.0, there
| is a potential for a cross-site scripting vulnerability in ESAPI
| caused by a incorrect regular expression for "onsiteURL" in the
| **antisamy-esapi.xml** configuration file that can cause "javascript:"
| URLs to fail to be correctly sanitized. This issue is patched in ESAPI
| 2.3.0.0. As a workaround, manually edit the **antisamy-esapi.xml**
| configuration files to change the "onsiteURL" regular expression. More
| information about remediation of the vulnerability, including the
| workaround, is available in the maintainers' release notes and
| security bulletin.


CVE-2022-23457[1]:
| 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.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-24891
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24891
[1] https://security-tracker.debian.org/tracker/CVE-2022-23457
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23457

Please adjust the affected versions in the BTS as needed.




-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 29 13:11:05 2022; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.