miekg/dns · Security
miekg/dns parsing error leads to nil pointer dereference and DoS
- GHSA ID
- GHSA-9jcx-pr2f-qvq5
- CVE ID
- CVE-2018-17419
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-17419 ↗
- https://github.com/miekg/dns/issues/742 ↗
- https://github.com/miekg/dns/commit/501e858f679edecd4a38a86317ce50271014a80d ↗
- https://pkg.go.dev/vuln/GO-2020-0028 ↗
- https://github.com/miekg/dns/pull/745/commits/f71d7d9d77d439b30a5e50900df5b1f988a50e5e ↗
- https://github.com/advisories/GHSA-9jcx-pr2f-qvq5 ↗