Skip to content

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

High severity GitHub Reviewed Published May 18, 2021 to the GitHub Advisory Database • Updated Aug 29, 2023

Package

gomod github.com/miekg/dns (Go)

Affected versions

< 1.0.10

Patched versions

1.0.10

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.

References

Reviewed May 11, 2021
Published to the GitHub Advisory Database May 18, 2021
Last updated Aug 29, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2018-17419

GHSA ID

GHSA-9jcx-pr2f-qvq5

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.