CVE-2017-6009 Memory corruption in n/a
A buffer overflow in icoutils wrestool allows attackers to cause denial of service or potentially execute code via crafted resource files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-6009?
CVE-2017-6009 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 16 Feb 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the "decode_ne_resource_id" function in the "restable.c" source file. This is happening because the "len" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.
Weakness: CWE-119
Which versions are affected by CVE-2017-6009?
It affects 8 products.
Products include Debian Debian Linux, Icoutils Project Icoutils, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus and 2 more.
How do I fix CVE-2017-6009?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-6009 being exploited?
There is no known exploitation of CVE-2017-6009 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2017-6009, GHSA-82cf-r7f2-jqcr, UBUNTU-CVE-2017-6009.