SCA: security update for cgi (GHSA-5cqm-crxm-6qpv)

critical Tenable Cloud Security Plugin ID 410770

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer
overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of
bytes. This also affects the CGI gem before 0.3.1 for Ruby. (CVE-2021-41816)

See Also

https://github.com/advisories/GHSA-5cqm-crxm-6qpv

Plugin Details

Severity: Critical

ID: 410770

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2021-41816

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/14/2021

Vulnerability Publication Date: 12/14/2021

Reference Information

CVE: CVE-2021-41816

cwe: CWE-190