GHSA-9jcx-pr2f-qvq5
miekg/dns parsing error leads to nil pointer dereference and DoS
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/miekg/dns | < 1.0.10 | 1.0.10 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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