GO-2020-0008

Source
https://pkg.go.dev/vuln/GO-2020-0008
Import Source
https://vuln.go.dev/ID/GO-2020-0008.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0008
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2020-0008"
}
References

Affected packages

Go / github.com/miekg/dns

Package

Name
github.com/miekg/dns
View open source insights on deps.dev
Purl
pkg:golang/github.com/miekg/dns

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
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"
            ]
        }
    ]
}