GitHub Advisoryadvisory · RubyGems

GHSA-7553-jr98-vx47 libxml as used in Nokogiri has an infinite loop in a certain end-of-file situation

HIGH Published 2020-02-24 Modified 2022-04-22 Official page ↗
Aliases
CVE-2020-7595
Ecosystem
RubyGems
Packages
nokogiri
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-835
Reviewed
2020-02-18

Affected packages

• RubyGems nokogiri: < 1.10.8 → fixed in 1.10.8

Description

xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation. The Nokogiri RubyGem has patched its vendored copy of libxml2 in order to prevent this issue from affecting nokogiri.

Related

Alias · CVE (1)

  • CVE-2020-7595 xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation. vulnerability

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References