blob: aec075ee2ae6272947d8f27bb248d2b98958773e [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2020-0008",
"modified": "0001-01-01T00:00:00Z",
"published": "2021-04-14T20:04:52Z",
"aliases": [
"CVE-2019-19794",
"GHSA-44r7-7p62-q3fr"
],
"summary": "Insecure generation of random numbers in github.com/miekg/dns",
"details": "DNS message transaction IDs are generated using math/rand which makes them relatively predictable. This reduces the complexity of response spoofing attacks against DNS clients.",
"affected": [
{
"package": {
"name": "github.com/miekg/dns",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.25-0.20191211073109-8ebf2e419df7"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/miekg/dns",
"symbols": [
"Msg.SetAxfr",
"Msg.SetIxfr",
"Msg.SetNotify",
"Msg.SetQuestion",
"Msg.SetUpdate",
"id"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/miekg/dns/pull/1044"
},
{
"type": "FIX",
"url": "https://github.com/miekg/dns/commit/8ebf2e419df7857ac8919baa05248789a8ffbf33"
},
{
"type": "WEB",
"url": "https://github.com/miekg/dns/issues/1037"
},
{
"type": "WEB",
"url": "https://github.com/miekg/dns/issues/1043"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2020-0008"
}
}