Arbitrary Code Injection Affecting rubygem-mongo package, versions <0:2.11.3-1.module+el8.4.0+594+11b6673a


Severity

Recommended
medium

Based on Rocky Linux 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-ROCKY8-RUBYGEMMONGO-5878158
  • published1 Sept 2023
  • disclosed18 Nov 2022

Introduced: 18 Nov 2022

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

How to fix?

Upgrade Rocky-Linux:8 rubygem-mongo to version 0:2.11.3-1.module+el8.4.0+594+11b6673a or higher.
This issue was patched in RLSA-2023:3821.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-mongo package and not the rubygem-mongo package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 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 Scores

version 3.1