{"id":"UBUNTU-CVE-2019-19794","details":"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.","modified":"2025-10-24T04:48:06Z","published":"2019-12-13T22:15:00Z","upstream":["CVE-2019-19794"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-19794"},{"type":"REPORT","url":"https://github.com/coredns/coredns/issues/3519"},{"type":"REPORT","url":"https://github.com/miekg/dns/compare/v1.1.24...v1.1.25"},{"type":"REPORT","url":"https://github.com/miekg/dns/issues/1043"},{"type":"REPORT","url":"https://github.com/miekg/dns/pull/1044"},{"type":"REPORT","url":"https://github.com/coredns/coredns/issues/3547"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-19794"}],"affected":[{"package":{"name":"golang-github-miekg-dns","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-github-miekg-dns@0.0~git20170501.0.f282f80-3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170501.0.f282f80-2","0.0~git20170501.0.f282f80-3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-dns-dev","binary_version":"0.0~git20170501.0.f282f80-3"},{"binary_name":"golang-github-miekg-dns-dev","binary_version":"0.0~git20170501.0.f282f80-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19794.json"}},{"package":{"name":"golang-github-miekg-dns","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-miekg-dns@1.0.4+ds-1ubuntu1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.4+ds-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-dns-dev","binary_version":"1.0.4+ds-1ubuntu1"},{"binary_name":"golang-github-miekg-dns-dev","binary_version":"1.0.4+ds-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19794.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}