GitHub Advisoryadvisory · Go
GHSA-44r7-7p62-q3fr miekg/dns insecurely generates random numbers
MEDIUM
Official page ↗
- Aliases
- CVE-2019-19794
- Ecosystem
- Go
- Packages
- github.com/miekg/dns
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-330, CWE-338
- Reviewed
- 2021-05-18
Affected packages
• Go github.com/miekg/dns: < 1.1.25 → fixed in 1.1.25
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.
Related
Alias · CVE (1)
- CVE-2019-19794 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… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-19794 advisory
- https://github.com/coredns/coredns/issues/3519 web
- https://github.com/coredns/coredns/issues/3547 web
- https://github.com/miekg/dns/issues/1037 web
- https://github.com/miekg/dns/issues/1043 web
- https://github.com/miekg/dns/pull/1044 web
- https://github.com/miekg/dns/commit/8ebf2e419df7857ac8919baa05248789a8ffbf33 web
- https://github.com/miekg/dns/compare/v1.1.24...v1.1.25 web
- https://pkg.go.dev/vuln/GO-2020-0008 web