CVE-2021-33391 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.
CriticalCVSS 9.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 5 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/tidy-html5(Debian 12) | = 2:5.6.0-11; = 2:5.7.45-1~exp1; = 2:5.8.0-1; = 2:5.8.0-1~exp1 +4 more | No fix listed | No fix yet |
| ubuntu/tidy-html5(Ubuntu 18.04) | = 1:5.2.0-2; All versions | No fix listed | No fix yet |
| debian/tidy-html5(Debian 13) | < 2:5.8.0-2 | 2:5.8.0-2 | Fixed |
| debian/tidy-html5(Debian 14) | < 2:5.8.0-2 | 2:5.8.0-2 | Fixed |
| ubuntu/tidy-html5(Ubuntu 20.04) | < 2:5.6.0-11ubuntu0.20.04.1; = 2:5.6.0-10; = 2:5.6.0-11 | 2:5.6.0-11ubuntu0.20.04.1 | Fixed |
| ubuntu/tidy-html5(Ubuntu 22.04) | < 2:5.6.0-11ubuntu0.22.04.1; = 2:5.6.0-11build1; = 2:5.6.0-11build2 | 2:5.6.0-11ubuntu0.22.04.1 | Fixed |
| ubuntu/tidy-html5(Ubuntu 24.04) | < 2:5.6.0-11ubuntu1; = 2:5.6.0-11build2 | 2:5.6.0-11ubuntu1 | Fixed |
| htacg tidy | = 5.7.28 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/tidy-html5(Debian:12) | All versions | No fix listed |
| debian/tidy-html5(Debian:12) | = 2:5.6.0-11 | No fix listed |
| debian/tidy-html5(Debian:12) | = 2:5.7.45-1~exp1 | No fix listed |
| debian/tidy-html5(Debian:12) | = 2:5.8.0-1 | No fix listed |
| debian/tidy-html5(Debian:12) | = 2:5.8.0-1~exp1 | No fix listed |
| debian/tidy-html5(Debian:12) | = 2:5.8.0-1~exp2 | No fix listed |
| debian/tidy-html5(Debian:12) | = 2:5.8.0-2 | No fix listed |
| debian/tidy-html5(Debian:12) | = 2:5.8.0-2.1 | No fix listed |
| debian/tidy-html5(Debian:13) | < 2:5.8.0-2 | 2:5.8.0-2 |
| debian/tidy-html5(Debian:14) | < 2:5.8.0-2 | 2:5.8.0-2 |
| ubuntu/tidy-html5(Ubuntu:22.04) | < 2:5.6.0-11ubuntu0.22.04.1 | 2:5.6.0-11ubuntu0.22.04.1 |
| htacg tidy | = 5.7.28 | No fix listed |
| ubuntu/tidy-html5(Ubuntu:24.04) | < 2:5.6.0-11ubuntu1 | 2:5.6.0-11ubuntu1 |
| ubuntu/tidy-html5(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/tidy-html5(Ubuntu:18.04) | = 1:5.2.0-2 | No fix listed |
| ubuntu/tidy-html5(Ubuntu:20.04) | < 2:5.6.0-11ubuntu0.20.04.1 | 2:5.6.0-11ubuntu0.20.04.1 |
| ubuntu/tidy-html5(Ubuntu:20.04) | = 2:5.6.0-10 | No fix listed |
| ubuntu/tidy-html5(Ubuntu:20.04) | = 2:5.6.0-11 | No fix listed |
| ubuntu/tidy-html5(Ubuntu:22.04) | = 2:5.6.0-11build1 | No fix listed |
| ubuntu/tidy-html5(Ubuntu:22.04) | = 2:5.6.0-11build2 | No fix listed |
| ubuntu/tidy-html5(Ubuntu:24.04) | = 2:5.6.0-11build2 | No fix listed |
References
- Debian Security Tracker CVE-2021-33391 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6483-1 vendor-advisory
- www.cve.org issue-tracking
- github.com exploit patch
- bugs.debian.org issue-tracking