Cyber Resilience

CVE-2021-41816

CriticalPublic PoC

Published: 06 February 2022

Published
06 February 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0048 65.7th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2021-41816 is a critical-severity Integer Overflow or Wraparound (CWE-190) vulnerability in Ruby-Lang Cgi. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 34.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability details

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…

more

gem before 0.3.1 for Ruby.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

ruby-lang
cgi
≤ 0.3.1 · ≤ 0.2.0 · ≤ 0.1.0
fedoraproject
fedora
34, 35

Mitigating Controls

No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.

References