Bug 1633041 (CVE-2018-17075)

Summary: CVE-2018-17075 golang-org-x-net-html: Mishandle of "in frameset" causes runtime panic in html.Parse() via crafted html
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: admiller, ahardin, apevec, bleanhar, bmontgom, bodavis, ccoleman, chrisw, dedgar, dustymabe, eparis, extras-orphan, fpokorny, hchiramm, jarrpa, jburrell, jcajka, jchaloup, jgoulding, jjoyce, jmulligan, jokerman, jpadman, jschluet, kbasil, kramdoss, kumarpraveen.nitdgp, lhh, lpabon, lpeer, madam, markmc, mburns, mchappel, mmagr, mnewsome, nstielau, ramkrsna, rbryant, rhs-bugs, sankarshan, sclewis, sisharma, slinaber, sponnaga, storage-qa-internal, tdawson, tdecacqu, thrcka, vbatts, vbellur
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-08-21 02:47:00 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: 1633042, 1633043, 1633044, 1633045, 1639106, 1639107    
Bug Blocks: 1633022, 1633033    

Description Sam Fowler 2018-09-26 06:14:36 UTC
The html package (aka x/net/html) before 2018-07-13 in Go mishandles "in frameset" insertion mode, leading to a "panic: runtime error" for html.Parse of <template><object>, <template><applet>, or <template><marquee>. This is related to HTMLTreeBuilder.cpp in WebKit.


Upstream Issue:

https://github.com/golang/go/issues/27016
https://bugs.chromium.org/p/chromium/issues/detail?id=829668


Upstream Patch:

https://github.com/golang/net/commit/aaf60122140d3fcf75376d319f0554393160eb50

Comment 1 Sam Fowler 2018-09-26 06:18:54 UTC
Created heketi tracking bugs for this issue:

Affects: epel-6 [bug 1633045]
Affects: fedora-all [bug 1633044]


Created kompose tracking bugs for this issue:

Affects: fedora-all [bug 1633043]


Created origin tracking bugs for this issue:

Affects: fedora-all [bug 1633042]

Comment 2 Sam Fowler 2018-10-15 05:41:59 UTC
Created golang-googlecode-net tracking bugs for this issue:

Affects: epel-6 [bug 1639107]
Affects: fedora-all [bug 1639106]

Comment 3 Scott Gayou 2018-10-16 21:24:44 UTC
RHEL7 (source from roughly 2014) not affected by reproducer. Most likely occurred when the template changes were merged in 2017. (guessing https://github.com/golang/net/commit/500e7a4f953ddaf55d316b4d3adc516aa0379622)

Source analysis doesn't hint that this may be affected either, missing template etc.

Comment 4 Summer Long 2018-10-19 06:21:35 UTC
OpenStack OpTools 8/9 grafana versions do not include net/html, which includes the flawed code. OpenStack OpTools 9 golang-googlecode-net does not have the flawed code (already fixed).

Comment 5 Joshua Padman 2019-08-21 02:27:43 UTC
Kompose was in DevTools as part of devsuite. Devsuite is now retired (https://developers.redhat.com/products/devsuite/overview/)

Comment 6 Product Security DevOps Team 2019-08-21 02:47:00 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-17075