Loading...
Skip to main content

CVE-2017-9050 — Out-of-bounds read in nokogiri — CVE Details

HIGH

Out-of-bounds read in nokogiri

Published December 13, 2017Updated November 8, 2023Source: osv

Summary

libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString function in dict.c. This vulnerability causes programs that use libxml2, such as PHP, to crash. This vulnerability exists because of an incomplete fix for CVE-2016-1839. GitHub is notifying on nokogiri as uses libxml2.

Advisory Timeline

  • First published December 13, 2017 (3225 days ago).
  • Last revised November 8, 2023 — 2155 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update nokogiri to 1.8.1 or later
gem install nokogiri -v 1.8.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
nokogiri
rubygems
1.0.0, 1.0.1, 1.0.2, 1.0.3 (+96 more)1.8.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-125
    Out-of-bounds ReadMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2017-9050?
Out-of-bounds read in nokogiri This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2017-9050?
CVE-2017-9050 affects nokogiri. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-9050 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-8c56-cpmw-89x7

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies