Ruby-Lang Cgi vulnerabilities
5 CVEs affecting Ruby-Lang Cgi, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2025-27220, published 2025-03-04.
More from Ruby-Lang.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2021-41816, published 2022-02-06. Critical severity, CVSS 9.8. EPSS: 4.9% probability of exploitation activity in the next 30 days. 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…
- CVE-2021-41819, published 2022-01-01. High severity, CVSS 7.5. EPSS: 3.2% probability of exploitation activity in the next 30 days. CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.
- CVE-2021-33621, published 2022-11-18. High severity, CVSS 8.8. EPSS: 3.1% probability of exploitation activity in the next 30 days. The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an…
- CVE-2025-27219, published 2025-03-04. High severity, CVSS 7.5. EPSS: 1.5% probability of exploitation activity in the next 30 days. In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of…
- CVE-2025-27220, published 2025-03-04. High severity, CVSS 7.5. EPSS: 1.3% probability of exploitation activity in the next 30 days. In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.