Buffer overrun in CGI.escape_html
Critical severity
GitHub Reviewed
Published
Dec 14, 2021
to the GitHub Advisory Database
•
Updated Jan 24, 2024
Package
Affected versions
>= 0.3.0, < 0.3.1
>= 0.2.0, < 0.2.1
< 0.1.0.1
Patched versions
0.3.1
0.2.1
0.1.0.1
Description
Reviewed
Dec 14, 2021
Published to the GitHub Advisory Database
Dec 14, 2021
Published by the National Vulnerability Database
Feb 6, 2022
Last updated
Jan 24, 2024
A buffer overrun vulnerability was discovered in CGI.escape_html. This can lead to a buffer overflow when a user passes a very large string (> 700 MB) to CGI.escape_html on a platform where long type takes 4 bytes, typically, Windows.
References