CVE-2021-41816
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.
Risk Information
Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
0.564
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2021-41819,CVE-2021-41816 are fixed in Ruby-cgi 0.1.0.1 | Windows |
| Vulnerabilities CVE-2021-41816 are fixed in Ruby-cgi 0.3.1 | Windows |
| Vulnerabilities CVE-2021-41816 are fixed in Ruby-cgi 0.2.1 | Windows |
| Object-oriented scripting language (USN-5235-1) ruby2.5_2.5.1-1ubuntu1.11_i386.deb | Linux |
| Object-oriented scripting language (USN-5235-1) ruby2.5_2.5.1-1ubuntu1.11_amd64.deb | Linux |
| Object-oriented scripting language (USN-5235-1) ruby2.7_2.7.0-5ubuntu1.6_i386.deb | Linux |
| Object-oriented scripting language (USN-5235-1) ruby2.7_2.7.0-5ubuntu1.6_amd64.deb | Linux |
| Object-oriented scripting language (USN-5235-1) ruby2.7_2.7.2-4ubuntu1.3_i386.deb | Linux |
| Object-oriented scripting language (USN-5235-1) ruby2.7_2.7.2-4ubuntu1.3_amd64.deb | Linux |
| Object-oriented scripting language (USN-5235-1) ruby2.7_2.7.4-1ubuntu3.1_i386.deb | Linux |
| Object-oriented scripting language (USN-5235-1) ruby2.7_2.7.4-1ubuntu3.1_amd64.deb | Linux |
| ruby2.7 security update(DSA-5067-1) ruby2.7_2.7.4-1+deb11u1_amd64.deb | Linux |
| ruby2.7 security update(DSA-5067-1) ruby2.7_2.7.4-1+deb11u1_i386.deb | Linux |
| Vulnerabilities CVE-2021-41819,CVE-2021-41816 are fixed in Ruby-cgi for Linux 0.1.0.1 | Linux |
| Vulnerabilities CVE-2021-41816 are fixed in Ruby-cgi for Linux 0.3.1 | Linux |
| Vulnerabilities CVE-2021-41816 are fixed in Ruby-cgi for Linux 0.2.1 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234