Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-23476

published high CVSS 3.1 · 7.5

Unchecked return value from xmlTextReaderExpand in Nokogiri

Published
08 Dec 2022, 03:03:24 UTC
Updated
23 Apr 2025, 16:31:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
sparklemotion — nokogiri>= 1.13.8, < 1.13.10 Affected Not stated GitHub_M
Alpine Linux edge ruby-nokogiri Fixed 1.13.10-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-nokogiriaarch64 Advisory build 1.15.4-1.1 OPENSUSE-SU-2024:13440-1
Alpine Linux v3.16 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
Alpine Linux v3.17 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
Alpine Linux v3.18 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
Alpine Linux v3.19 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
Alpine Linux v3.20 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
Show 19 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.21 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
Alpine Linux v3.22 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
Alpine Linux v3.23 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
Alpine Linux v3.24 ruby-nokogiri Fixed 1.13.10-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-nokogirippc64le Advisory build 1.15.4-1.1 OPENSUSE-SU-2024:13440-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-nokogiris390x Advisory build 1.15.4-1.1 OPENSUSE-SU-2024:13440-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-nokogirix86_64 Advisory build 1.15.4-1.1 OPENSUSE-SU-2024:13440-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.3-rubygem-nokogiriaarch64 Advisory build 1.15.5-1.5 OPENSUSE-SU-2024:14174-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.3-rubygem-nokogirippc64le Advisory build 1.15.5-1.5 OPENSUSE-SU-2024:14174-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.3-rubygem-nokogiris390x Advisory build 1.15.5-1.5 OPENSUSE-SU-2024:14174-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.3-rubygem-nokogirix86_64 Advisory build 1.15.5-1.5 OPENSUSE-SU-2024:14174-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-nokogiriaarch64 Advisory build 1.18.2-1.1 OPENSUSE-SU-2025:14697-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-nokogirippc64le Advisory build 1.18.2-1.1 OPENSUSE-SU-2025:14697-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-nokogiris390x Advisory build 1.18.2-1.1 OPENSUSE-SU-2025:14697-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-nokogirix86_64 Advisory build 1.18.2-1.1 OPENSUSE-SU-2025:14697-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-nokogiriaarch64 Advisory build 1.18.9-1.4 OPENSUSE-SU-2026:10356-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-nokogirippc64le Advisory build 1.18.9-1.4 OPENSUSE-SU-2026:10356-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-nokogiris390x Advisory build 1.18.9-1.4 OPENSUSE-SU-2026:10356-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-nokogirix86_64 Advisory build 1.18.9-1.4 OPENSUSE-SU-2026:10356-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
sparklemotion nokogiri >= 1.13.8, < 1.13.10 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-252 CWE-252: Unchecked Return Value (GitHub_M · cna)
  • CWE-476 CWE-476: NULL Pointer Dereference (GitHub_M · cna)

References

3

Provider assertions

3

GitHub_M · cna

Unchecked return value from xmlTextReaderExpand in Nokogiri

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
6bc577b280a15a566c54f8ccb39bfb1b8f0a022440ddb7123fd0fca45b178d68
Ingested
23 Sep 2026, 07:58:41 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected