Bug 1524567 (CVE-2017-17497)

Summary: CVE-2017-17497 tidy: Segmentation fault in the prvTidyTidyMetaCharset function
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: databases-maint, gwync, pkubat, praiskup, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:33:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1485858, 1485859    
Bug Blocks:    

Description Andrej Nemec 2017-12-11 17:05:49 UTC
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.

Upstream issue:

https://github.com/htacg/tidy-html5/issues/656

Comment 1 Andrej Nemec 2017-12-11 17:06:15 UTC
Created tidy tracking bugs for this issue:

Affects: epel-7 [bug 1485858]
Affects: fedora-all [bug 1485859]