CVE-2018-17419 miekg/dns parsing error leads to nil pointer dereference and DoS

High 7.5 Published Updated

A parsing error in the Miek Gieben DNS library for Go causes a segmentation violation, allowing attackers to trigger a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-17419?

CVE-2018-17419 is a high-severity vulnerability in n/a, published on 7 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2018-17419?

3 open source packages ship an affected version, including github.com/miekg/dns. It affects 1 product.

PackageAffectedFixed in
github.com/miekg/dns GoAll versions1.0.10
github.com/miekg/dns GoAll versions1.0.10
github.com/miekg/dns GoAll versions1.0.10

Products include Dns Library Project Dns Library.

How do I fix CVE-2018-17419?

Upgrade github.com/miekg/dns to 1.0.10 or later.

Is CVE-2018-17419 being exploited?

There is no known exploitation of CVE-2018-17419 in the wild and no public exploit code.

Sources

Also known as GHSA-9jcx-pr2f-qvq5, GO-2020-0028, UBUNTU-CVE-2018-17419.

Is CVE-2018-17419 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free