CVE-2021-41816
- State
- Published
- Severity
- Not scored
- Published
- Feb 6, 2022
- Updated
- Aug 4, 2024
- Reserved
- Sep 29, 2021
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://hackerone.com/reports/1328463
- https://www.ruby-lang.org/en/news/2021/11/24/buffer-overrun-in-cgi-escape_html-cve-2021-41816/
- https://security-tracker.debian.org/tracker/CVE-2021-41816
- https://security.netapp.com/advisory/ntap-20220303-0006/
- FEDORA-2022-82a9edac27vendor-advisory
- FEDORA-2022-8cf0124addvendor-advisory
- GLSA-202401-27vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.