Inadequate Encryption Strength Affecting ruby23-irb package, versions <0:2.3.4-1.15.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.17% (87th 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-AMZN201803-RUBY23IRB-1708109
  • published27 Sept 2021
  • disclosed30 Jan 2017

Introduced: 30 Jan 2017

CVE-2016-7798  (opens in a new tab)
CWE-326  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 ruby23-irb to version 0:2.3.4-1.15.amzn1 or higher.
This issue was patched in ALAS-2017-880.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby23-irb package and not the ruby23-irb package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The openssl gem for Ruby uses the same initialization vector (IV) in GCM Mode (aes-*-gcm) when the IV is set before the key, which makes it easier for context-dependent attackers to bypass the encryption protection mechanism.

CVSS Base Scores

version 3.1