GO-2020-0008
Dashboard / Vulnerabilities / GO-2020-0008
GO-2020-0008
Published: 14 Apr 2021Last Modified: 20 May 2024
Aliases:
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.
References: https://github.com/miekg/dns/pull/1044, https://github.com/miekg/dns/commit/8ebf2e419df7857ac8919baa05248789a8ffbf33, https://github.com/miekg/dns/issues/1037, https://github.com/miekg/dns/issues/1043
Affected packages
Package
Name: github.com/miekg/dns
Purl: pkg:golang/github.com/miekg/dns
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.1.25-0.20191211073109-8ebf2e419df7
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
