HTTP Response Splitting Affecting rubygem-mysql2 package, versions <0:0.5.4-1.module+el9.1.0+15737+76195479


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.84% (83rd 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-CENTOS9-RUBYGEMMYSQL2-6514920
  • published1 Apr 2024
  • disclosed18 Nov 2022

Introduced: 18 Nov 2022

CVE-2021-33621  (opens in a new tab)
CWE-113  (opens in a new tab)

How to fix?

Upgrade Centos:9 rubygem-mysql2 to version 0:0.5.4-1.module+el9.1.0+15737+76195479 or higher.

NVD Description

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

The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an HTTP response or to create a CGI::Cookie object.

CVSS Base Scores

version 3.1