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.
References
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-02-06T00:00:00
Updated: 2024-01-24T05:06:22.268245
Reserved: 2021-09-29T00:00:00
Link: CVE-2021-41816
JSON object: View
NVD Information
Status : Modified
Published: 2022-02-06T21:15:07.887
Modified: 2024-01-24T05:15:11.280
Link: CVE-2021-41816
JSON object: View
Redhat Information
No data.
CWE