Arbitrary Command Injection Affecting ruby3.4 package, versions <3.4.10-150700.3.4.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.13% (4th 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-SLES157-RUBY34-18010816
  • published18 Jul 2026
  • disclosed17 Jul 2026

Introduced: 17 Jul 2026

NewCVE-2026-47242  (opens in a new tab)
CWE-77  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 ruby3.4 to version 3.4.10-150700.3.4.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.4 package and not the ruby3.4 package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.

CVSS Base Scores

version 3.1