LowGO-2020-0006CVE-2017-15133GHSA-p55x-7x9v-q8m4

Denial of service via open idle connection 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.4-0.20180125103619-43913f2f4fbd
Fixed in
1.0.4-0.20180125103619-43913f2f4fbd
Update to the fixed version for your release line, for example:go get github.com/miekg/dns@v1.0.4-0.20180125103619-43913f2f4fbd

Details

An attacker may prevent TCP connections to a Server by opening a connection and leaving it idle, until the connection is closed by the server no other connections will be accepted.

Is GO-2020-0006 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

  • MediumCVE-2019-19794miekg/dns insecurely generates random numbers · 18 May 2021
  • HighCVE-2018-17419miekg/dns parsing error leads to nil pointer dereference and DoS · 18 May 2021
  • LowCVE-2019-19794Insecure generation of random numbers in github.com/miekg/dns · 14 Apr 2021
  • LowCVE-2018-17419Denial of service via malformed zone file 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.