Azure Linux 3.0 Security Update: ruby (CVE-2025-27220)

medium Nessus Plugin ID 234638

Synopsis

The remote Azure Linux host is missing one or more security updates.

Description

The version of ruby installed on the remote Azure Linux 3.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2025-27220 advisory.

- In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method. (CVE-2025-27220)

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

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2025-27220

Plugin Details

Severity: Medium

ID: 234638

File Name: azure_linux_CVE-2025-27220.nasl

Version: 1.1

Type: local

Published: 4/20/2025

Updated: 4/20/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2025-27220

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

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

CPE: x-cpe:/o:microsoft:azure_linux, p-cpe:/a:microsoft:azure_linux:rubygems, p-cpe:/a:microsoft:azure_linux:rubygems-devel, p-cpe:/a:microsoft:azure_linux:ruby, p-cpe:/a:microsoft:azure_linux:ruby-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 4/8/2025

Vulnerability Publication Date: 3/3/2025

Reference Information

CVE: CVE-2025-27220