TROYANOSYVIRUS
Back to CVEs

CVE-2021-41816

CRITICAL
9.8

Description

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 Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/6/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

fedoraproject:fedoraruby-lang:cgiruby-lang:ruby

Weaknesses (CWE)

CWE-190

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.