CRLF Injection The advisory has been revoked - it doesn't affect any version of package ruby:3.3/rubygem-bson  (opens in a new tab)


Threat Intelligence

EPSS
0.43% (37th 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-RHEL8-RUBY-16691032
  • 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)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby:3.3/rubygem-bson package and not the ruby:3.3/rubygem-bson package as distributed by RHEL.

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.