CGI: Denial of Service in CGI::Cookie.parse
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ruby-lang | CGI | unaffected |
|
Configuration 1 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | |||
| ruby-0:3.3.8-10.el10_0 | cpe:/o:redhat:enterprise_linux:10.0 | RHSA-2025:8131 | 2025-05-26T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| ruby:3.3-8100020250414172630.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:10217 | 2025-07-02T00:00:00Z |
| ruby:3.1-8100020250407112943.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:4063 | 2025-04-23T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| ruby-0:3.0.7-165.el9_5 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:4487 | 2025-05-06T00:00:00Z |
| ruby:3.1-9050020250404144903.9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:4488 | 2025-05-06T00:00:00Z |
| ruby:3.3-9050020250415095239.9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:4493 | 2025-05-06T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4082-1 | ruby2.7 security update |
EUVD |
EUVD-2025-5556 | 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. |
Github GHSA |
GHSA-gh9q-2xrm-x6qv | CGI has Denial of Service (DoS) potential in Cookie.parse |
Ubuntu USN |
USN-7418-1 | Ruby vulnerabilities |
Ubuntu USN |
USN-7442-1 | Ruby vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.849% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/o:redhat:enterprise_linux:10.0 |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:9 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/a:redhat:enterprise_linux:8 | |
| Vendors & Products |
Redhat
Redhat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Ruby-lang
Ruby-lang cgi |
|
| CPEs | cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:* cpe:2.3:a:ruby-lang:cgi:0.3.6:*:*:*:*:ruby:*:* |
|
| Vendors & Products |
Ruby-lang
Ruby-lang cgi |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | CGI: Denial of Service in CGI::Cookie.parse | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
cvssV3_1
|