Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-33391 EUVD-2021-20097GHSA-wfrp-xv2m-8j85

An issue in HTACG HTML Tidy v5.7.28 allows attacker to execute arbitrary code via the -g option of the CleanNode() function in gdoc.c.

Published Feb 17, 2023 · Updated Mar 18, 2025 · Assigned by mitre

Description

An issue in HTACG HTML Tidy v5.7.28 allows attacker to execute arbitrary code via the -g option of the CleanNode() function in gdoc.c.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tidy-html5 2:5.8.0-2 —
Debian 13 tidy-html5 2:5.8.0-2 —
Debian 12 tidy-html5 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS tidy-html5 2:5.6.0-11ubuntu1 —
Ubuntu 22.04 LTS tidy-html5 2:5.6.0-11ubuntu0.22.04.1 USN-6483-1
Ubuntu 20.04 LTS tidy-html5 2:5.6.0-11ubuntu0.20.04.1 USN-6483-1
Ubuntu 18.04 LTS tidy-html5 No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 tidy 5.8.0-6 —
Azure Linux 2 (CBL-Mariner) tidy 5.8.0-6 —

Advisories 1

References