Bug 1404636 (CVE-2017-1000097)

Summary: CVE-2017-1000097 golang: User's trust preferences for root certificates were not honored
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: admiller, amurdaca, apevec, bleanhar, ccoleman, chrisw, cvsbot-xmlrpc, dedgar, dmcphers, golang-updates, jcajka, jgoulding, jialiu, joelsmith, jokerman, jschluet, lemenkov, lhh, lmeyer, lpeer, markmc, mmccomas, renich, sclewis, srevivo, s, tdawson, tdecacqu
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: golang 1.6.4, golang 1.7.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 11:49:17 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: 1404638, 1404639, 1418029, 1418030, 1470269, 1470270, 1470271, 1470272    
Bug Blocks: 1404641    

Description Adam Mariš 2016-12-14 10:16:08 UTC
It was found that user's trust preferences for root certificates were not honored. If the user had a root certificate loaded in their Keychain that was explicitly not trusted, a Go program would still verify a connection using that root certificate.

Upstream bug:

https://github.com/golang/go/issues/18141

Upstream patch:

https://go-review.googlesource.com/#/c/33721/

External Reference:

https://groups.google.com/forum/#!msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ

Comment 1 Adam Mariš 2016-12-14 10:17:42 UTC
Created golang tracking bugs for this issue:

Affects: fedora-all [bug 1404638]
Affects: epel-all [bug 1404639]