peter bassill · operator
$ cve CVE-2021-41816 JSON

CVE-2021-41816

9.8
CRITICAL · CVSS 3.1 · EPSS 4.9% (pctl 92)

In your normal cycle

Critical by CVSS (9.8), but no sign of active exploitation.

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.

Scoring

CVSS9.8 (CRITICAL, v3.1)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS4.9% — more likely to be exploited than 92% of all CVEs
WeaknessCWE-190
On CISA KEVno
Public exploitnone known
Published2022-02-06
Last modified2026-06-17

Affected (3)

VendorProduct
fedoraprojectfedora
ruby-langcgi
ruby-langruby

References

→ the Explorer  ·  watch your stack  ·  NVD