CRLF Injection Affecting ruby3.4-rubygem-rexml package, versions <0:3.4.4-27.amzn2023.0.6


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.94% (57th 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-AMZN2023-RUBY34RUBYGEMREXML-17291046
  • published10 Jun 2026
  • disclosed9 May 2026

Introduced: 9 May 2026

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

How to fix?

Upgrade Amazon-Linux:2023 ruby3.4-rubygem-rexml to version 0:3.4.4-27.amzn2023.0.6 or higher.
This issue was patched in ALAS2023-2026-1807.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.4-rubygem-rexml package and not the ruby3.4-rubygem-rexml package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to 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