7.5

CVE-2025-27219: ruby-lang cgi

CVSS: 7.5v3.1HighModified
AliasesALPINE-CVE-2025-27219UBUNTU-CVE-2025-27219DEBIAN-CVE-2025-27219
Published 03-03-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-27219 is a high (CVSS 7.5) vulnerability in ruby-lang cgi. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 57.3% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.85%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 7

Timeline

  1. 03-03-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 8 sources · 2 versions

EPSS trend

Probability

0.85%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

+0.02 pp

From 0.83% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.85%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard33 products
  • elasticsearch-8.17< 8.17.10-r13
  • jruby-9.4< 9.4.14.0-r0
  • jruby-9.4-default-ruby< 9.4.14.0-r0
  • logstash-8-with-output-opensearchAll versions (No fix recorded)
  • logstash-8.17All versions (No fix recorded)
Wolfi13 products
  • jruby-9.4< 9.4.14.0-r0
  • jruby-9.4-default-ruby< 9.4.14.0-r0
  • logstash-8-with-output-opensearchAll versions (No fix recorded)
  • ruby-3.1< 3.1.6-r12
  • ruby-3.1-dev< 3.1.6-r12
Ubuntu7 products
  • jrubyAll versions (No fix recorded)
  • ruby2.3< 2.3.1-2~ubuntu16.04.16+esm10
  • ruby2.5< 2.5.1-1ubuntu1.16+esm4
  • ruby2.7< 2.7.0-5ubuntu1.18
  • ruby3.0< 3.0.2-7ubuntu2.10
Alpine2 products
  • ruby< 3.2.8-r0 | < 3.3.8-r0
  • ruby-net-imap< 0.3.9-r0 | < 0.4.19-r0
Debian2 products
  • ruby3.1All versions (No fix recorded)
  • ruby3.3< 3.3.7-2
Ruby-lang1 product
  • cgi≥ 0.3.6, < 0.3.7 | < 0.3.5.1 | ≥ 0.4.0, < 0.4.2 | 0.3.6
RubyGems1 product
  • cgi< 0.3.5.1 | ≥ 0.3.6, < 0.3.7 | ≥ 0.4.0, < 0.4.2

7 vendors · 59 products

References

15 links
Show all 15 references