VDB
Sign up
HIGH7.5

GHSA-9jcx-pr2f-qvq5

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

Quick fix

GHSA-9jcx-pr2f-qvq5 — github.com/miekg/dns: upgrade to the fixed version with the command below.

go get github.com/miekg/dns@v1.0.10

Details

An issue was discovered in `setTA` in `scan_rr.go` in the Miek Gieben DNS library before 1.0.10 for Go. A `dns.ParseZone()` parsing error causes a segmentation violation, leading to denial of service.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/miekg/dns
Introduced in: 0Fixed in: 1.0.10
Fixgo get github.com/miekg/dns@v1.0.10

References