Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-23476 Details

Description

Nokogiri is an open source XML and HTML library for the Ruby programming language. Nokogiri `1.13.8` and `1.13.9` fail to check the return value from `xmlTextReaderExpand` in the method `Nokogiri::XML::Reader#attribute_hash`. This can lead to a null pointer exception when invalid markup is being parsed. For applications using `XML::Reader` to parse untrusted inputs, this may potentially be a vector for a denial of service attack. Users are advised to upgrade to Nokogiri `>= 1.13.10`. Users may be able to search their code for calls to either `XML::Reader#attributes` or `XML::Reader#attribute_hash` to determine if they are affected.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-252Unchecked Return Value[email protected]
CWE-476NULL Pointer Dereference[email protected]

Affected Products

ProductVersions
nokogiri nokogiri
1.13.8
1.13.9

CPE

  • cpe:2.3:a:nokogiri:nokogiri:1.13.8:*:*:*:*:ruby:*:*
  • cpe:2.3:a:nokogiri:nokogiri:1.13.9:*:*:*:*:ruby:*:*

Remediation

  • No remediation found in references.

Change History

5 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-23476
NVD Published Date:
Dec 8, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2022-23476 Details - Not Deferred