CVE-2019-19794: The miekg Go DNS package before 1.1.25, as used in CoreDNS before 1.6.6 and other products, improperly generat
CVE-2019-19794 is a medium-severity flaw (CVSS 5.9) affecting miekg-dns. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.1% (top 19%) |
| CISA exploited list | No |
| Weakness | CWE-338 |
| Published | 2019-12-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-19794?
miekg-dns: upgrade to 1.1.25. Exact commands for each OS are on this page.
Is CVE-2019-19794 being exploited?
CVE-2019-19794 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-19794 affect?
CVE-2019-19794 affects miekg-dns. Severity is medium (CVSS 5.9). 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.
How urgent is CVE-2019-19794?
Priority 51/100. Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2017-15133 HIGH 7.5 UPGRADE A denial of service flaw was found in miekg-dns before 1.0.4