CVE-2025-27219

State
Published
Severity
5.8 Medium
Published
Mar 3, 2025
Updated
Nov 3, 2025
Reserved
Feb 20, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.8 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:Lmitre

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
CGIruby-lang
  • before 0.3.5.1Affected
  • 0.3.6 to before 0.3.7Affected
  • 0.4.0 to before 0.4.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.