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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit third-party-advisory
- github.com patch third-party-advisory
- github.com vendor-advisory
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-list third-party-advisory
- DSA-3966 third-party-advisory vendor-advisory
- [oss-security] 20160919 CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode mailing-list third-party-advisory
- [oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode mailing-list patch third-party-advisory
- [oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode mailing-list third-party-advisory
- github.com exploit
- web.archive.org
- github.com product
- Debian Security Tracker CVE-2016-7798 vendor-advisory
- 93031 third-party-advisory vdb-entry