CVEvulnerability
CVE-2019-19794
5.9 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2019-12-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-338
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 configurations
• miekg-dns project miekg-dns (< 1.1.25)
Related
Weakness · CWE (1)
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) weakness
References
- https://github.com/coredns/coredns/issues/3519 Issue Tracking, Third Party Advisory
- https://github.com/coredns/coredns/issues/3547 Third Party Advisory
- https://github.com/miekg/dns/compare/v1.1.24...v1.1.25 Release Notes, Third Party Advisory
- https://github.com/miekg/dns/issues/1043 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/miekg/dns/pull/1044 Patch, Third Party Advisory
- https://github.com/coredns/coredns/issues/3519 Issue Tracking, Third Party Advisory
- https://github.com/coredns/coredns/issues/3547 Third Party Advisory
- https://github.com/miekg/dns/compare/v1.1.24...v1.1.25 Release Notes, Third Party Advisory
- https://github.com/miekg/dns/issues/1043 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/miekg/dns/pull/1044 Patch, Third Party Advisory