GLSA-202401-14 : RedCloth: ReDoS Vulnerability

high Nessus Plugin ID 187861

Description

The remote host is affected by the vulnerability described in GLSA-202401-14 (RedCloth: ReDoS Vulnerability)

- A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize_html function of redcloth gem v4.0.0. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload. (CVE-2023-31606)

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

Solution

All RedCloth users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=dev-ruby/redcloth-4.3.2-r5

See Also

https://security.gentoo.org/glsa/202401-14

https://bugs.gentoo.org/show_bug.cgi?id=908035

Plugin Details

Severity: High

ID: 187861

File Name: gentoo_GLSA-202401-14.nasl

Version: 1.0

Type: local

Published: 1/10/2024

Updated: 1/10/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2023-31606

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:redcloth, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/10/2024

Vulnerability Publication Date: 6/6/2023

Reference Information

CVE: CVE-2023-31606