Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-27219

5.8 · MEDIUM
Published Mar 4, 2025 ruby-lang CWE-770 EPSS 0.82% (55th pctl)

Overview

CVE-2025-27219 is a medium-severity vulnerability affecting ruby-lang cgi. It was published on March 4, 2025 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from ruby-lang. Update cgi to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
ruby-lang cgi >= 0, < 0.3.5.1 Affected

Frequently Asked Questions

What is CVE-2025-27219?

CVE-2025-27219 is a medium-severity vulnerability affecting ruby-lang cgi. It was published on March 4, 2025 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

How severe is CVE-2025-27219?

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-27219?

Check the references section for vendor advisories and patches from ruby-lang. Update cgi to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-27219?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-27219 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.