Advisory

DEBIAN-CVE-2022-23476

Also known as: CVE-2022-23476

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-12-08 04:15 UTC
Modified
2026-11-18 06:00 UTC

Affected packages and fixes

ruby-nokogiri

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.13.10+dfsg-1 (ecosystem)

Fixed versions

1.13.10+dfsg-1

Fix

  • Fixed version 1.13.10+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby-nokogiri

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.13.10+dfsg-1 (ecosystem)

Fixed versions

1.13.10+dfsg-1

Fix

  • Fixed version 1.13.10+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby-nokogiri

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.13.10+dfsg-1 (ecosystem)

Fixed versions

1.13.10+dfsg-1

Fix

  • Fixed version 1.13.10+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences