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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2022-02-06T00:00:00
Updated: 2024-08-04T03:22:24.883Z
Reserved: 2021-09-29T00:00:00
Link: CVE-2021-41816
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-02-06T21:15:07.887
Modified: 2024-01-24T05:15:11.280
Link: CVE-2021-41816
Redhat