Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-19794
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:02 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-19794
Complete source record
{
"id": "12c1bd6d6ab8d5e539a4d4f904e310d35b2e87e81a41d45b51d0694f4fc6d289",
"url": "https://osv.dev/vulnerability/CVE-2019-19794",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-19794",
"summary": "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.",
"evidence": "osv:CVE-2019-19794",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-19794",
"aliases": [
"CVE-2019-19794",
"GHSA-44r7-7p62-q3fr",
"GO-2020-0008"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/miekg/dns",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "aae7df65e6178e7937664e9c3036f62fc2098d7c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:miekg-dns_project:miekg-dns:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.1.25"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.1.24",
"v1.1.23",
"v1.1.22",
"v1.1.21",
"v1.1.20",
"v1.1.19",
"v1.1.18",
"v1.1.17",
"v1.1.16",
"v1.1.15",
"v1.1.14",
"v1.1.13",
"v1.1.12",
"v1.1.11",
"v1.1.10",
"v1.1.9",
"v1.1.8",
"v1.1.7",
"v1.1.6",
"v1.1.5",
"v1.1.4",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.15",
"v1.0.14",
"v1.0.13",
"v1.0.12",
"v1.0.11",
"v1.0.10",
"v1.0.9",
"v1.0.8",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19794.json"
}
}
],
"modified": "2026-10-20T10:52:32.796616154Z",
"provider": "osv",
"references": [
"https://github.com/coredns/coredns/issues/3547",
"https://github.com/miekg/dns/compare/v1.1.24...v1.1.25",
"https://github.com/coredns/coredns/issues/3519",
"https://github.com/miekg/dns/issues/1043",
"https://github.com/miekg/dns/pull/1044"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-19794",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383683,
"published_at": "2019-12-13T22:15:11.357+00:00"
}