CVE-2015-8806 Denial of service or RCE from libxml2 and libxslt
Remote attackers can crash applications using libxml2 by sending crafted HTML documents with specific malformed DOCTYPE declarations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-8806?
CVE-2015-8806 is a high-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 13 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
dict.c in libxml2 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via an unexpected character immediately after the "<!DOCTYPE html" substring in a crafted HTML document.
Which versions are affected by CVE-2015-8806?
2 open source packages ship an affected version, including nokogiri. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
nokogiri RubyGems | From 1.6.0 | 1.6.8 |
nokogiri RubyGems | From 1.6.0 | 1.6.8 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Xmlsoft Libxml2.
How do I fix CVE-2015-8806?
Upgrade nokogiri to 1.6.8 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2015-8806 being exploited?
There is no known exploitation of CVE-2015-8806 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2015-8806, ECHO-a20a-0b3f-eaef, GHSA-7hp2-xwpj-95jq, UBUNTU-CVE-2015-8806.