CRLF Injection Affecting ruby-bundled-gems package, versions <0:3.3.12-8.module+el8.10.0+24567+c4e5368e


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.43% (35th 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-CENTOS8-RUBYBUNDLEDGEMS-16691023
  • published14 May 2026
  • disclosed9 May 2026

Introduced: 9 May 2026

CVE-2026-42257  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade Centos:8 ruby-bundled-gems to version 0:3.3.12-8.module+el8.10.0+24567+c4e5368e or higher.

NVD Description

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

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

CVSS Base Scores

version 3.1