ghsa-44r7-7p62-q3fr
Vulnerability from github
Published
2021-05-18 21:09
Modified
2023-08-29 22:33
Summary
miekg/dns insecurely generates random numbers
Details

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.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/miekg/dns"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.25"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-19794"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-330",
      "CWE-338"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-18T20:42:52Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "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.",
  "id": "GHSA-44r7-7p62-q3fr",
  "modified": "2023-08-29T22:33:25Z",
  "published": "2021-05-18T21:09:13Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-19794"
    },
    {
      "type": "WEB",
      "url": "https://github.com/coredns/coredns/issues/3519"
    },
    {
      "type": "WEB",
      "url": "https://github.com/coredns/coredns/issues/3547"
    },
    {
      "type": "WEB",
      "url": "https://github.com/miekg/dns/issues/1037"
    },
    {
      "type": "WEB",
      "url": "https://github.com/miekg/dns/issues/1043"
    },
    {
      "type": "WEB",
      "url": "https://github.com/miekg/dns/pull/1044"
    },
    {
      "type": "WEB",
      "url": "https://github.com/miekg/dns/commit/8ebf2e419df7857ac8919baa05248789a8ffbf33"
    },
    {
      "type": "WEB",
      "url": "https://github.com/miekg/dns/compare/v1.1.24...v1.1.25"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2020-0008"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "miekg/dns insecurely generates random numbers"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.