Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS : ruby-nokogiri vulnerabilities (USN-9363-1)

high Nessus Plugin ID 392421

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-9363-1 advisory.

It was discovered that Nokogiri used an inefficient regular expression when detecting the encoding of HTML documents. An attacker could possibly use this issue to cause Nokogiri to consume excessive resources, leading to a denial of service. (CVE-2022-24836)

It was discovered that Nokogiri incorrectly checked the bounds of indexes into node sets, leading to an out-of-bounds read. An attacker could possibly use this issue to cause Nokogiri to crash, resulting in a denial of service. (CVE-2026-57235)

It was discovered that Nokogiri incorrectly handled setting an invalid document encoding, leading to a use-after-free. An attacker could possibly use this issue to cause Nokogiri to crash, resulting in a denial of service, or obtain sensitive information. (CVE-2026-57236)

It was discovered that Nokogiri incorrectly handled replacing the value of an XML attribute, leading to a use-after-free. An attacker could possibly use this issue to cause Nokogiri to crash, resulting in a denial of service. (CVE-2026-57435)

It was discovered that Nokogiri used inefficient regular expressions when tokenizing CSS selectors. An attacker could possibly use this issue to cause Nokogiri to consume excessive resources, leading to a denial of service. (CVE-2026-79770)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected ruby-nokogiri package.

See Also

https://ubuntu.com/security/CVE-2022-24836

https://ubuntu.com/security/CVE-2026-57235

https://ubuntu.com/security/CVE-2026-57236

https://ubuntu.com/security/CVE-2026-57435

https://ubuntu.com/security/CVE-2026-79770

https://ubuntu.com/security/notices/USN-9363-1

Plugin Details

Severity: High

ID: 392421

File Name: ubuntu_USN-9363-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 95.09

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2022-24836

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-57236

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-79770

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:14.04:-:lts, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:ruby-nokogiri

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 4/11/2022

Reference Information

CVE: CVE-2022-24836, CVE-2026-57235, CVE-2026-57236, CVE-2026-57435, CVE-2026-79770

USN: 9363-1