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.
The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.
Link | Tags |
---|---|
https://github.com/miekg/dns/issues/1043 | issue tracking exploit third party advisory |
https://github.com/coredns/coredns/issues/3519 | issue tracking third party advisory |
https://github.com/miekg/dns/pull/1044 | third party advisory patch |
https://github.com/miekg/dns/compare/v1.1.24...v1.1.25 | third party advisory release notes |
https://github.com/coredns/coredns/issues/3547 | third party advisory |