CVE-2017-9108 Memory corruption in n/a
A buffer overflow in adnshost allows attackers to cause crashes or leak memory contents by providing input without a final newline.
- 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-9108?
CVE-2017-9108 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. adnshost mishandles a missing final newline on a stdin read. It is wrong to increment used as well as setting r, since used is incremented according to r, later. Rather one should be doing what read() would have done. Without this fix, adnshost may read and process one byte beyond the buffer, perhaps crashing or perhaps somehow leaking the value of that byte.
Weakness: CWE-119
Which versions are affected by CVE-2017-9108?
It affects 3 products.
Products include Fedoraproject Fedora, Gnu Adns, Opensuse Leap.
How do I fix CVE-2017-9108?
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-9108 being exploited?
There is no known exploitation of CVE-2017-9108 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2017-9108, GHSA-33h2-rv7w-ppfj, UBUNTU-CVE-2017-9108.