Is github.com/miekg/dns 1.0 vulnerable?

Go · 16 releases from 1.0.0 to 1.0.15 · latest github.com/miekg/dns is 1.1.73 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. github.com/miekg/dns 1.0.15, the last 1.0 release, is affected by 2 known security advisories (1 medium, 1 low), including CVE-2019-19794, CVE-2019-19794. 4 more affect earlier 1.0.x releases. Upgrade to 1.1.25 or later to fix all of them.

Upgrade with:go get github.com/miekg/dns@v1.1.25

Is your project on an affected github.com/miekg/dns?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting github.com/miekg/dns 1.0.15

  • MediumCVE-2019-19794GHSA-44r7-7p62-q3fr18 May 2021

    miekg/dns insecurely generates random numbers

    Affected
    <1.1.25
    Fixed in
    1.1.25
  • LowCVE-2019-19794GO-2020-000814 Apr 2021

    Insecure generation of random numbers in github.com/miekg/dns

    Affected
    <1.1.25-0.20191211073109-8ebf2e419df7
    Fixed in
    1.1.25-0.20191211073109-8ebf2e419df7

Fixed within 1.0.x, affecting earlier releases

  • HighCVE-2017-15133GHSA-p55x-7x9v-q8m429 Jun 2021

    Denial of Service in miekg-dns

    Affected
    <1.0.4
    Fixed in
    1.0.4
  • HighCVE-2018-17419GHSA-9jcx-pr2f-qvq518 May 2021

    miekg/dns parsing error leads to nil pointer dereference and DoS

    Affected
    <1.0.10
    Fixed in
    1.0.10
  • LowCVE-2017-15133GO-2020-000614 Apr 2021

    Denial of service via open idle connection in github.com/miekg/dns

    Affected
    <1.0.4-0.20180125103619-43913f2f4fbd
    Fixed in
    1.0.4-0.20180125103619-43913f2f4fbd
  • LowCVE-2018-17419GO-2020-002814 Apr 2021

    Denial of service via malformed zone file in github.com/miekg/dns

    Affected
    <1.0.10
    Fixed in
    1.0.10

Every github.com/miekg/dns 1.0.x release

Affected: 1.0.0 to 1.0.15. Latest github.com/miekg/dns: 1.1.73.

VersionKnown advisories
github.com/miekg/dns 1.0.15CVE-2019-19794, CVE-2019-19794
github.com/miekg/dns 1.0.14CVE-2019-19794, CVE-2019-19794
github.com/miekg/dns 1.0.13CVE-2019-19794, CVE-2019-19794
github.com/miekg/dns 1.0.12CVE-2019-19794, CVE-2019-19794
github.com/miekg/dns 1.0.11CVE-2019-19794, CVE-2019-19794
github.com/miekg/dns 1.0.10CVE-2019-19794, CVE-2019-19794
github.com/miekg/dns 1.0.9CVE-2019-19794, CVE-2018-17419, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.8CVE-2019-19794, CVE-2018-17419, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.7CVE-2019-19794, CVE-2018-17419, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.6CVE-2019-19794, CVE-2018-17419, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.5CVE-2019-19794, CVE-2018-17419, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.4CVE-2019-19794, CVE-2018-17419, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.3CVE-2017-15133, CVE-2019-19794, CVE-2018-17419, CVE-2017-15133, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.2CVE-2017-15133, CVE-2019-19794, CVE-2018-17419, CVE-2017-15133, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.1CVE-2017-15133, CVE-2019-19794, CVE-2018-17419, CVE-2017-15133, CVE-2019-19794, CVE-2018-17419
github.com/miekg/dns 1.0.0CVE-2017-15133, CVE-2019-19794, CVE-2018-17419, CVE-2017-15133, CVE-2019-19794, CVE-2018-17419

Which of your client projects are still on github.com/miekg/dns 1.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/miekg/dns version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/miekg/dns versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.