GHSA-gv9j-4w24-q7vx
medium
Improper random number generation in github.com/coredns/coredns
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- GO-2022-0368
Description
Impact
CoreDNS before 1.6.6 (using go DNS package < 1.1.25) improperly generates random numbers because math/rand is used. The TXID becomes predictable, leading to response forgeries.
Patches
The problem has been fixed in 1.6.6+.
References
For more information
Please consult our security guide for more information regarding our security process.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/coredns/coredns (Go) | before 1.6.6 | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
Impact
CoreDNS before 1.6.6 (using go DNS package < 1.1.25) improperly generates random numbers because math/rand is used. The TXID becomes predictable, leading to response forgeries.
Patches
The problem has been fixed in 1.6.6+.
References
For more information
Please consult our security guide for more information regarding our security process.
Go Vulnerability Database
Improper random number generation in github.com/coredns/coredns
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-gv9j-4w24-q7vx changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0368 changed 2026-02-04 | CC-BY-4.0 |