CVE-2017-15412 Nokogiri gem, via libxml, is affected by DoS vulnerabilities
A remote attacker can exploit heap corruption via a crafted HTML page to potentially execute arbitrary code in Google Chrome.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-15412?
CVE-2017-15412 is a high-severity use after free vulnerability in Debian Debian Linux, published on 28 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Use after free in libxml2 before 2.9.5, as used in Google Chrome prior to 63.0.3239.84 and other products, allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
Weakness: CWE-416
Which versions are affected by CVE-2017-15412?
2 open source packages ship an affected version, including nokogiri. It affects 6 products.
| Package | Affected | Fixed in |
|---|---|---|
nokogiri RubyGems | All versions | 1.8.2 |
nokogiri RubyGems | All versions | 1.8.2 |
Products include Debian Debian Linux, Google Chrome, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation, Xmlsoft Libxml2.
How do I fix CVE-2017-15412?
Upgrade nokogiri to 1.8.2 or later.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2017-15412 being exploited?
There is no known exploitation of CVE-2017-15412 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2017-15412, DLA-1211-1, DSA-4086-1, ECHO-5578-a69b-6ed0, GHSA-r58r-74gx-6wx3, UBUNTU-CVE-2017-15412 and 1 more.