Go Vulnerability Database
GO-2020-0008
Insecure generation of random numbers in github.com/miekg/dns
Details
DNS message transaction IDs are generated using math/rand which makes them relatively predictable. This reduces the complexity of response spoofing attacks against DNS clients.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/miekg/dns | All versions before 1.1.25-0.20191211073109-8ebf2e419df7 (fixed in 1.1.25-0.20191211073109-8ebf2e419df7) |