VDB

CVE-2019-19794

CVE-2019-19794 PUBLISHED CVSS 5.900000095367432 MEDIUM

miekg/dns insecurely generates random numbers

Reported by mitre · Published December 13, 2019

github.com/miekg/dns is fixed in 1.1.25-0.20191211073109-8ebf2e419df7 and 1.1.25 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/miekg/dnsGo Modules1.1.25-0.20191211073109-8ebf2e419df7, 1.1.25
miekg-dnsmiekg-dns_project1.1.25

Risk scores

CVSS 3.1
5.900000095367432
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
n/an/an/a
github.commiekg/dns0
n/an/a*

Timeline

  • Dec 13, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • May 18, 2021 CVE Updated
  • Mar 10, 2026 Security Advisory
  • Sep 12, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-19794
vulnetix vdb fixes CVE-2019-19794

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-19794/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›