VYPR
Critical severityNVD Advisory· Published Feb 6, 2022· Updated Aug 4, 2024

CVE-2021-41816

CVE-2021-41816

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
cgiRubyGems
>= 0.3.0, < 0.3.10.3.1
cgiRubyGems
>= 0.2.0, < 0.2.10.2.1
cgiRubyGems
< 0.1.0.10.1.0.1

Affected products

15

Patches

Vulnerability mechanics

References

21

News mentions

0

No linked articles in our index yet.