Search vulnerabilities

Results 5

Export CSV
CVE-2021-33621

ruby/cgi-gem: HTTP response splitting in CGI

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 HTTP response or to create a CGI::Cookie object.

CVSS 3.1 · 8.8 High EPSS 2.5% KEV · Not listed
Products
CVE-2025-27220

CGI: ReDoS in CGI::Util#escapeElement

In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.

CVSS 3.1 · 4 Medium EPSS < 1% KEV · Not listed
Vendors
CVE-2025-27219

CGI: Denial of Service in CGI::Cookie.parse

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 the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies.

CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
Vendors
CVE-2021-41819

ruby: Cookie prefix spoofing in CGI::Cookie.parse

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.

CVSS 3.1 · 7.5 High EPSS 3.2% KEV · Not listed
Vendors
Products
CVE-2021-41816

ruby: buffer overflow in CGI.escape_html

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.

CVSS 3.1 · 9.8 Critical EPSS 4.9% KEV · Not listed
Products