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.
History

No history.

cve-icon 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

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-06T21:15:07.887

Modified: 2024-11-21T06:26:48.520

Link: CVE-2021-41816

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-11-24T00:00:00Z

Links: CVE-2021-41816 - Bugzilla