CVE-2016-7798
ruby: IV Reuse in GCM Mode
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-326
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | openssl | <2.0.0 | 2.0.0 |
Open a package to see all its vulnerabilities.
Operating systems · 13 fixes
Red Hat 1 release · 1 package
wont fix 1
rh-ruby22-ruby
| Release | Package | Fixed in |
|---|---|---|
| 7 | rh-ruby22-ruby +65 | wont fix |
SUSE Linux Enterprise 1 release · 1 package
fixed 1
libruby2-1-2-1
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libruby2-1-2-1 +3 | 2.1.9-19.3.2 | SUSE-SU-2020:1570-1 |
debian 5 releases · 3 packages
fixed 9
ruby-encryptor
ruby-attr-encrypted
ruby2-3
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-encryptor | 3.0.0-1 |
| 11 | ruby-attr-encrypted | 3.0.1-2 |
| 12 | ruby-encryptor | 3.0.0-1 |
| 12 | ruby-attr-encrypted | 3.0.1-2 |
| 13 | ruby-encryptor | 3.0.0-1 |
| 13 | ruby-attr-encrypted | 3.0.1-2 |
3 more rows
echo 1 release · 2 packages
fixed 2
ruby-encryptor
ruby-attr-encrypted
| Release | Package | Fixed in |
|---|---|---|
| ruby-encryptor | 3.0.0-1 | |
| ruby-attr-encrypted | 3.0.1-2 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/09/19/9
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/09/30/6
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/10/01/2
- www.securityfocus.com http://www.securityfocus.com/bid/93031
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-7798
- github.com https://github.com/advisories/GHSA-6h88-qjpv-p32m
- github.com https://github.com/attr-encrypted/attr_encrypted/issues/203
- github.com https://github.com/attr-encrypted/encryptor/pull/22
- github.com https://github.com/ruby/openssl
- github.com https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
Show all 18 references
- github.com https://github.com/ruby/openssl/issues/49
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openssl/CVE-2016-7798.yml
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-7798
- ubuntu.com https://ubuntu.com/security/notices/USN-3365-1
- web.archive.org https://web.archive.org/web/20210121065227/https://www.securityfocus.com/bid/93031/info
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-7798
- www.debian.org https://www.debian.org/security/2017/dsa-3966
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.