Bug 1539157 (CVE-2018-6196)

Summary: CVE-2018-6196 w3m: Infinite recursion in HTMLlineproc0
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: eng-i18n-bugs, pnemade, redhat-bugzilla
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: w3m 0.5.3+git20180125 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-24 08:52:38 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: 1539158, 1539159, 1539160    
Bug Blocks:    

Description Pedro Sampaio 2018-01-26 19:34:54 UTC
w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.

Upstream bug:

https://github.com/tats/w3m/issues/88

Upstream patch:

https://github.com/tats/w3m/commit/8354763b90490d4105695df52674d0fcef823e92

Comment 1 Pedro Sampaio 2018-01-26 19:36:06 UTC
Created w3m tracking bugs for this issue:

Affects: epel-7 [bug 1539160]
Affects: fedora-all [bug 1539159]

Comment 3 Parag Nemade 2018-06-24 08:52:38 UTC
Fixed for all the requested releases.