Skip to content

CVE-2016-7798 OpenSSL gem for Ruby using inadequate encryption strength

HighCVSS 7.5 EPSS 3.2% PoC
Published
Updated
Exploit status
Proof-of-concept only

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.

Affected products

ProductAffected versionsFixed in
rubygems openssl(RubyGems) < 2.0.0 2.0.0
rubygems openssl(RubyGems) = 2.0.0.beta.1 No fix listed
rubygems openssl(RubyGems) = 2.0.0.beta.2 No fix listed
debian/ruby-attr-encrypted(Debian:12) < 3.0.1-2 3.0.1-2
debian/ruby-attr-encrypted(Debian:13) < 3.0.1-2 3.0.1-2
debian/ruby-attr-encrypted(Debian:14) < 3.0.1-2 3.0.1-2
debian/ruby-encryptor(Debian:12) < 3.0.0-1 3.0.0-1
debian/ruby-encryptor(Debian:13) < 3.0.0-1 3.0.0-1
debian/ruby-encryptor(Debian:14) < 3.0.0-1 3.0.0-1
ruby-lang openssl < 2.0.0 2.0.0
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed

References