{"id":"GHSA-gv9j-4w24-q7vx","summary":"Improper random number generation in github.com/coredns/coredns","details":"### Impact\n\nCoreDNS before 1.6.6 (using go DNS package \u003c 1.1.25) improperly generates random numbers because math/rand is used. The TXID becomes predictable, leading to response forgeries.\n\n### Patches\nThe problem has been fixed in 1.6.6+.\n\n### References\n- [CVE-2019-19794](https://nvd.nist.gov/vuln/detail/CVE-2019-19794)\n\n### For more information\nPlease consult [our security guide](https://github.com/coredns/coredns/blob/master/.github/SECURITY.md) for more information regarding our security process.\n","aliases":["GO-2022-0368"],"modified":"2026-07-17T21:05:08.735855282Z","published":"2022-03-01T21:03:11Z","database_specific":{"cwe_ids":["CWE-330"],"github_reviewed_at":"2022-03-01T21:03:11Z","github_reviewed":true,"nvd_published_at":null,"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/coredns/coredns/security/advisories/GHSA-gv9j-4w24-q7vx"},{"type":"PACKAGE","url":"github.com/coredns/coredns"}],"affected":[{"package":{"name":"github.com/coredns/coredns","ecosystem":"Go","purl":"pkg:golang/github.com/coredns/coredns"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-gv9j-4w24-q7vx/GHSA-gv9j-4w24-q7vx.json"}}],"schema_version":"1.7.3"}