Input validation error in HTMLDOC - CVE-2021-23180
Published: June 10, 2021
Vulnerability identifier: #VU54036
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-23180
CWE-ID: CWE-20
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 validation of user-supplied input within the file_extension() function in file.c. A remote attacker can pass specially crafted URI to the application and perform a denial of service (DoS) attack.
Affected software
HTMLDOC
htmldoc (Debian package)
htmldoc (Ubuntu package)
htmldoc-common (Ubuntu package)
Ubuntu
htmldoc (Debian package)
htmldoc (Ubuntu package)
htmldoc-common (Ubuntu package)
Ubuntu
How to mitigate CVE-2021-23180
Install updates from vendor's website.
HTMLDOC - update to 1.9.12
htmldoc (Debian package) - update to 1.9.3-1+deb10u2
htmldoc (Ubuntu package) - addressed in versions 1.9.7-1ubuntu0.2, 1.9.11-2ubuntu0.1
htmldoc-common (Ubuntu package) - addressed in versions 1.9.7-1ubuntu0.2, 1.9.11-2ubuntu0.1
htmldoc (Debian package) - update to 1.9.3-1+deb10u2
htmldoc (Ubuntu package) - addressed in versions 1.9.7-1ubuntu0.2, 1.9.11-2ubuntu0.1
htmldoc-common (Ubuntu package) - addressed in versions 1.9.7-1ubuntu0.2, 1.9.11-2ubuntu0.1