CVE-2017-18258
Uncontrolled resource consumption in nokogiri
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install nokogiri -v 1.8.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| nokogiri | rubygems | 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+97 more) | 1.8.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-770Allocation of Resources Without LimitsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18258ADVISORY
- https://git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7dcb2ca8bbWEB
- https://github.com/advisories/GHSA-882p-jqgm-f45gADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-18258.ymlWEB
- https://kc.mcafee.com/corporate/index?page=content&id=SB10284WEB
- https://lists.debian.org/debian-lts-announce/2018/09/msg00035.htmlWEB
- https://lists.debian.org/debian-lts-announce/2020/09/msg00009.htmlWEB
- https://security.netapp.com/advisory/ntap-20190719-0001WEB
- https://usn.ubuntu.com/3739-1WEB
Frequently Asked Questions
- What is CVE-2017-18258?
- Uncontrolled resource consumption in nokogiri This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2017-18258?
- CVE-2017-18258 affects nokogiri. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-18258 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2019-18197HIGH
Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability
- CVE-2021-41098HIGH
Improper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRuby
- CVE-2021-30560HIGH
Nokogiri has vulnerable dependencies on libxml2 and libxslt
- CVE-2022-29181HIGH
Nokogiri Improperly Handles Unexpected Data Type
- CVE-2021-3537MEDIUM
Nokogiri Implements libxml2 version vulnerable to null pointer dereferencing
- CVE-2026-57235MEDIUM
Nokogiri: Possible Out-of-Bounds Read in `Nokogiri::XML::NodeSet#[]`
- CVE-2013-6460MEDIUM
Nokogiri vulnerable to DoS while parsing XML documents
- CVE-2026-57236LOW
Nokogiri: Possible Use-After-Free when `Nokogiri::XML::Document#encoding=` raises an exception
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies