Incorrect Regular Expression in HTML::StripScripts - CVE-2023-24038

 

Incorrect Regular Expression in HTML::StripScripts - CVE-2023-24038

Published: February 7, 2023


Vulnerability identifier: #VU72015
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-24038
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing untrusted input in _hss_attval_style. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


Affected software

HTML::StripScripts
Debian Linux
Fedora
Ubuntu
libhtml-stripscripts-perl (Ubuntu package)
libhtml-stripscripts-perl (Debian package)
perl-HTML-StripScripts

How to mitigate CVE-2023-24038

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

libhtml-stripscripts-perl (Ubuntu package) - addressed in versions Ubuntu Pro, 1.06-1ubuntu0.18.04.1, 1.06-1ubuntu0.20.04.1, 1.06-1ubuntu0.22.04.1, 1.06-2ubuntu0.1
libhtml-stripscripts-perl (Debian package) - update to 1.06-1+deb11u1
perl-HTML-StripScripts - addressed in versions 1.06-22.el7, 1.06-22.el8, 1.06-22.el9, 1.06-22.fc37, 1.06-22.fc38

External References

Related Security Bulletins