Skip to content

CVE-2019-19794 miekg/dns insecurely generates random numbers

MediumCVSS 5.9 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
miekg github.com/miekg/dns(Go) < 1.1.25 1.1.25
miekg github.com/miekg/dns(Go) < 1.1.25-0.20191211073109-8ebf2e419df7 1.1.25-0.20191211073109-8ebf2e419df7
debian/golang-github-miekg-dns(Debian:12) < 1.1.26-1 1.1.26-1
debian/golang-github-miekg-dns(Debian:13) < 1.1.26-1 1.1.26-1
debian/golang-github-miekg-dns(Debian:14) < 1.1.26-1 1.1.26-1
miekg-dns project miekg-dns < 1.1.25 1.1.25

References