GO-2020-0008

    Dashboard / Vulnerabilities / GO-2020-0008

    GO-2020-0008

    Published: 14 Apr 2021Last Modified: 20 May 2024

    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 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
    GO-2020-0008 | CVE-DB