CVE-2017-9107 Memory corruption in n/a

High 7.5 Published Updated

A buffer overflow in the adns library allows remote attackers to cause a denial of service via a crafted DNS query ending with a backslash.

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

What is CVE-2017-9107?

CVE-2017-9107 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 18 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in adns before 1.5.2. It overruns reading a buffer if a domain ends with backslash. If the query domain ended with \, and adns_qf_quoteok_query was specified, qdparselabel would read additional bytes from the buffer and try to treat them as the escape sequence. It would depart the input buffer and start processing many bytes of arbitrary heap data as if it were the query domain. Eventually it would run out of input or find some other kind of error, and declare the query domain invalid. But before then it might outrun available memory and crash. In principle this could be a denial of service attack.

Weakness: CWE-119

Which versions are affected by CVE-2017-9107?

It affects 2 products.

Products include Fedoraproject Fedora, Gnu Adns.

How do I fix CVE-2017-9107?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-9107 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-9107, GHSA-8gwr-xmc5-5jfv, UBUNTU-CVE-2017-9107.

Is CVE-2017-9107 in your software?

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

Check your SBOMs for free