CVE-2025-27219 Affecting rubygem-mysql2-doc package, versions <0:0.5.4-1.module_el9.1.0+8+503f6fbd


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.16% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-RUBYGEMMYSQL2DOC-10079045
  • published9 May 2025
  • disclosed6 May 2025

Introduced: 6 May 2025

NewCVE-2025-27219  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 rubygem-mysql2-doc to version 0:0.5.4-1.module_el9.1.0+8+503f6fbd or higher.
This issue was patched in ALSA-2025:4488.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-mysql2-doc package and not the rubygem-mysql2-doc package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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 Base Scores

version 3.1