Disclosure summary
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.
Source-reported weakness categories
CWE-770
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
Microsoft Security Updates (CVRF) · 2025-Mar
Open original source · Updated Aug 12, 2026
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.
Maximum of vendor-reported product scores; products and fixed builds are associations, not a universal affected-version statement.
Microsoft maximum product score: 5.3
| Vendor | Product / association | Version / bounds |
|---|---|---|
| Microsoft update guide | cbl2 ruby 3.1.4-9 on CBL Mariner 2.0 | (MSRC status code 3) |
| Microsoft update guide | azl3 ruby 3.3.5-3 on Azure Linux 3.0 | (MSRC status code 3) |
| Microsoft update guide | cbl2 ruby 3.1.4-9 on CBL-Mariner 2.0 | (MSRC status code 3) |
Vendor remediation references
- CBL-Mariner Releases · build 3.1.4-9 · product IDs 19723-17086, 19723-21692
- Vendor guidance · product IDs 19723-17086, 19723-21692
- CBL-Mariner Releases · build 3.3.5-3 · product IDs 19393-17084
- Vendor guidance · product IDs 19393-17084
Original records & references
- NIST NVD record
- CVE Program record
- msrc.microsoft.com — Vendor advisory
PUBLISHED 2025-03-18T20:00:00-04:00
MODIFIED 2026-08-12T18:32:53-04:00
INGESTED 2026-10-08T12:50:09-04:00