LowGO-2020-0028CVE-2018-17419GHSA-9jcx-pr2f-qvq5

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

Published 14 Apr 2021 · Updated 20 May 2024

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

Affected package

Affected
<1.0.10
Fixed in
1.0.10
Update to the fixed version for your release line, for example:go get github.com/miekg/dns@v1.0.10

Details

Due to a nil pointer dereference, parsing a malformed zone file containing TA records may cause a panic. If parsing user supplied input, this may be used as a denial of service vector.

Is GO-2020-0028 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/miekg/dns, and gives you the command that fixes it.

More advisories for github.com/miekg/dns

  • HighCVE-2017-15133Denial of Service in miekg-dns · 29 Jun 2021
  • MediumCVE-2019-19794miekg/dns insecurely generates random numbers · 18 May 2021
  • LowCVE-2017-15133Denial of service via open idle connection in github.com/miekg/dns · 14 Apr 2021
  • LowCVE-2019-19794Insecure generation of random numbers in github.com/miekg/dns · 14 Apr 2021
github.com/miekg/dns security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.