Bug 1786761 (CVE-2019-19794)

Summary: CVE-2019-19794 golang-github-miekg-dns: predictable TXID can lead to response forgeries
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dbecker, erooth, fpokorny, gbrown, go-sig, jchaloup, jjoyce, jschluet, lhh, lpeer, mburns, rhos-maint, sclewis, slinaber
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: miekg/dns 1.1.25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-27 20:09:31 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: 1786762, 1786763, 2032712, 2032713, 2032714    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2019-12-27 18:42:18 UTC
The miekg Go DNS package before 1.1.25, as used in CoreDNS before 1.6.6 and other products, improperly generates random numbers because math/rand is used. The TXID becomes predictable, leading to response forgeries.

Reference:
https://github.com/miekg/dns/issues/1043

Upstream commit:
https://github.com/miekg/dns/pull/1044

Comment 1 Guilherme de Almeida Suckevicz 2019-12-27 18:43:35 UTC
Created golang-github-miekg-dns tracking bugs for this issue:

Affects: epel-6 [bug 1786763]
Affects: fedora-all [bug 1786762]

Comment 2 Product Security DevOps Team 2019-12-27 20:09:31 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 4 errata-xmlrpc 2020-11-24 09:02:37 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Jaeger 1.20

Via RHSA-2020:5198 https://access.redhat.com/errata/RHSA-2020:5198

Comment 6 errata-xmlrpc 2022-05-11 11:34:21 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.2

Via RHSA-2022:2183 https://access.redhat.com/errata/RHSA-2022:2183