> CVE-2022-23476 [HIGH]

« BACK_TO_HOME
PUBLISHED
2022-12-08 04:15
MODIFIED
2024-11-21 06:48
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
1.82%
Top 21.1%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> 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.

> AFFECTED_PRODUCTS

Nokogiri - Nokogiri
Version: 1.13.8
Nokogiri - Nokogiri
Version: 1.13.9

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-qv4q-mr5r-qprj HIGH

Unchecked return value from xmlTextReaderExpand

AFFECTED PACKAGES:
RUBYGEMS / nokogiri
>= 1.13.8, < 1.13.10
Fixed in: 1.13.10

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Unchecked return value from xmlTextReaderExpand in Nokogiri

AFFECTED PACKAGES:
Unknown / Unknown
4 versions affected
ALIASES:
GHSA-qv4q-mr5r-qprj

> HISTORIQUE DES MODIFICATIONS

Première apparition
08/12/2022 04:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:36
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME