Amazon Linux 2022 : rubygem-nokogiri (ALAS2022-2022-062)

high Nessus Plugin ID 164747

Synopsis

The remote Amazon Linux 2022 host is missing a security update.

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2022-2022-062 advisory.

Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue. (CVE-2022-24836)

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

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

Solution

Run 'dnf update --releasever=2022.0.20220504 rubygem-nokogiri' to update your system.

See Also

https://alas.aws.amazon.com/AL2022/ALAS-2022-062.html

https://alas.aws.amazon.com/cve/html/CVE-2022-24836.html

Plugin Details

Severity: High

ID: 164747

File Name: al2022_ALAS2022-2022-062.nasl

Version: 1.3

Type: local

Agent: unix

Published: 9/6/2022

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

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: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:rubygem-nokogiri-debuginfo, cpe:/o:amazon:linux:2022, p-cpe:/a:amazon:linux:rubygem-nokogiri, p-cpe:/a:amazon:linux:rubygem-nokogiri-doc, p-cpe:/a:amazon:linux:rubygem-nokogiri-debugsource

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/4/2022

Vulnerability Publication Date: 4/11/2022

Reference Information

CVE: CVE-2022-24836