Use of vulnerable libxml2 Affecting nokogiri package, versions <1.8.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-NOKOGIRI-20432
- published 21 Sep 2017
- disclosed 18 May 2017
- credit Marcel Böhme, Van-Thuan Pham
Introduced: 18 May 2017
CVE-2017-0663 Open this link in a new tabHow to fix?
Upgrade nokogiri
to version 1.8.1 or higher.
Overview
nokogiri
(鋸) is an HTML, XML, SAX, and Reader parser, with the ability to search documents via XPath or CSS3 selectors.
Affected versions of the package are vulnerable to many vulnerabilities, including Arbitrary Code Execution and Denial of Service (DoS), and Sensitive Information Exposure. Nokogiri bundles the libxml2
library, which is vulnerable in versions below 2.9.5.
The CVEs assigned to the vulnerabilities are:
CVE-2017-0663
It was discovered that a type confusion error existed in libxml2. An attacker could use this to specially construct XML data that could cause a denial of service or possibly execute arbitrary code.