| Name | CVE-2017-17497 |
| Description | In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial of service (Segmentation Fault), because the currentNode variable in the "children of the head" processing feature is modified in the loop without validating the new value. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| tidy-html5 (PTS) | bookworm, bullseye | 2:5.6.0-11 | fixed |
| trixie | 2:5.8.0-2 | fixed |
| forky, sid | 2:5.8.0-2.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| tidy | source | (unstable) | (not affected) | | | |
| tidy-html5 | source | stretch | (not affected) | | | |
| tidy-html5 | source | (unstable) | 2:5.6.0-3 | | | |
Notes
[stretch] - tidy-html5 <not-affected> (Vulnerable code introduced after 5.6.0)
- tidy <not-affected> (Vulnerable code not present)
https://github.com/htacg/tidy-html5/issues/656
https://github.com/htacg/tidy-html5/commit/a111d7a9691953f903ffa1fdbc3762dec22fc215
Issue originally never in DEbian because teh vulnerable code was
introduced in 5.6.0. But with the 2:5.6.0-1 upload the package got
vulnerable and needed a targeted fix via 2:5.6.0-3 upload.