{"id":"GHSA-gv9j-4w24-q7vx","revision":"ef1e9638abc34f6baf8f20e0c22fb577","records":[{"revision":"ef1e9638abc34f6baf8f20e0c22fb577","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-gv9j-4w24-q7vx","aliases":["GO-2022-0368"],"title":"Improper random number generation in github.com/coredns/coredns","description":"### Impact\n\nCoreDNS 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.\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","state":0,"publishedAt":"2022-03-01T21:03:11+00:00","modifiedAt":"2026-09-10T03:49:28.3577672+00:00","affected":[{"ecosystem":"Go","name":"github.com/coredns/coredns","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.6.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/coredns/coredns/security/advisories/GHSA-gv9j-4w24-q7vx"],"sourceUrl":"https://github.com/advisories/GHSA-gv9j-4w24-q7vx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-gv9j-4w24-q7vx","identifiers":["GHSA-gv9j-4w24-q7vx","GO-2022-0368"]},"retained":false,"historicalAffected":[]}],"coverage":[]}