Improper Handling of Unexpected Data Type The advisory has been revoked - it doesn't affect any version of package rubygem-nokogiri-debugsource  (opens in a new tab)


Threat Intelligence

EPSS
3.23% (88th percentile)

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 IDSNYK-RHEL8-RUBYGEMNOKOGIRIDEBUGSOURCE-4408609
  • published26 Mar 2023
  • disclosed19 May 2022

Introduced: 19 May 2022

CVE-2022-29181  (opens in a new tab)
CWE-241  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-nokogiri-debugsource package and not the rubygem-nokogiri-debugsource package as distributed by RHEL.

Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted inputs to cause illegal memory access errors (segfault) or reads from unrelated memory. Version 1.13.6 contains a patch for this issue. As a workaround, ensure the untrusted input is a String by calling #to_s or equivalent.