CGI Gem up to 0.3.6/0.4.1 on Ruby Cookie CGI::Cookie.parse allocation of resources
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in CGI Gem up to 0.3.6/0.4.1 on Ruby. It has been classified as problematic. Affected is the function CGI::Cookie.parse of the component Cookie Handler. This manipulation causes allocation of resources.
The identification of this vulnerability is CVE-2025-27219. It is possible to initiate the attack remotely. There is no exploit available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in CGI Gem up to 0.3.6/0.4.1 on Ruby. It has been declared as problematic. Affected by this vulnerability is the function CGI::Cookie.parse of the component Cookie Handler. The manipulation with an unknown input leads to a allocation of resources vulnerability. The CWE definition for the vulnerability is CWE-770. The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor. As an impact it is known to affect availability. The summary by CVE is:
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.
The advisory is shared at hackerone.com. This vulnerability is known as CVE-2025-27219 since 02/20/2025. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1499 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 232142 (Linux Distros Unpatched Vulnerability : CVE-2025-27219), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.3.5.1, 0.3.7 or 0.4.2 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (232142) and EUVD (EUVD-2025-5556). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.2VulDB Meta Temp Score: 6.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 5.8
CNA Vector (MITRE): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Allocation of resourcesCWE: CWE-770 / CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 232142
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-27219
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: CGI Gem 0.3.5.1/0.3.7/0.4.2
Timeline
02/20/2025 🔍03/04/2025 🔍
03/04/2025 🔍
06/01/2025 🔍
Sources
Advisory: hackerone.comStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2025-27219 (🔍)
GCVE (CVE): GCVE-0-2025-27219
GCVE (VulDB): GCVE-100-298429
EUVD: 🔍
Entry
Created: 03/04/2025 06:46Updated: 06/01/2025 23:21
Changes: 03/04/2025 06:46 (66), 03/05/2025 15:42 (12), 03/06/2025 19:17 (2), 06/01/2025 23:21 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.