GitHub Advisory Database
GHSA-9jcx-pr2f-qvq5
miekg/dns parsing error leads to nil pointer dereference and DoS
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/miekg/dns | All versions before 1.0.10 (fixed in 1.0.10) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-17419
- https://github.com/miekg/dns/issues/742
- https://github.com/miekg/dns/pull/745/commits/f71d7d9d77d439b30a5e50900df5b1f988a50e5e
- https://github.com/miekg/dns/commit/501e858f679edecd4a38a86317ce50271014a80d
- https://github.com/miekg/dns
- https://pkg.go.dev/vuln/GO-2020-0028