Skip to content
OpenAdvisories
High · 7.5 CVE-2016-7798 EUVD-2017-0176GHSA-6h88-qjpv-p32m

OpenSSL gem for Ruby using inadequate encryption strength

Published Jan 30, 2017 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-attr-encrypted 3.0.1-2 —
Debian 14 ruby-encryptor 3.0.0-1 —
Debian 13 ruby-attr-encrypted 3.0.1-2 —
Debian 13 ruby-encryptor 3.0.0-1 —
Debian 12 ruby-attr-encrypted 3.0.1-2 —
Debian 12 ruby-encryptor 3.0.0-1 —
Debian 9 ruby2.3 2.3.3-1+deb9u1 DSA-3966-1
Debian 8 ruby2.1 2.1.5-2+deb8u4 DLA-1421-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS ruby-encryptor +1 No fix yet —
Ubuntu 16.04 LTS ruby2.3 2.3.1-2~16.04.2 USN-3365-1
Ubuntu 14.04 LTS ruby1.9.1 1.9.3.484-2ubuntu1.3 USN-3365-1
Ubuntu 14.04 LTS ruby2.0 2.0.0.484-1ubuntu2.4 USN-3365-1
ReleasePackageFixed inAdvisory
SLES 12 SP5 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SLES 12 SP4 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SLES 12 SP3 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SLES 12 SP2 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SLES 12 SP2 yast2-ruby-bindings 3.1.53-9.8.1 SUSE-SU-2020:1570-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SLES for SAP 12 SP4 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SLES for SAP 12 SP3 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SLES for SAP 12 SP2 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SLES for SAP 12 SP2 yast2-ruby-bindings 3.1.53-9.8.1 SUSE-SU-2020:1570-1
SUSE OpenStack Cloud Crowbar 8 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SUSE OpenStack Cloud 8 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SUSE OpenStack Cloud 7 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SUSE OpenStack Cloud 7 yast2-ruby-bindings 3.1.53-9.8.1 SUSE-SU-2020:1570-1
SUSE HPE Helion OpenStack 8 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1
SUSE Enterprise Storage 5 ruby2.1 2.1.9-19.3.2 SUSE-SU-2020:1570-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems openssl < 2.0.0 2.0.0 GHSA-6h88-qjpv-p32m

Advisories 4

References