CVE-2016-7798
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.16% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 87.9% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2017-01-30 22:00Z9 YR AGO
- Last updated
- 2024-08-06 02:04Z2 YR AGO
- Reserved
- 2016-09-09
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-326Inadequate Encryption StrengthClass
- Data version
- 5.1
- Document digest
- a6978e0ff91b2d40767a88b90498293e97422f8223b69dff3c8a8d4a99bfe8cc
05 Affected products
06 References
- www.openwall.com[oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Modehttp://www.openwall.com/lists/oss-security/2016/09/30/6
- www.debian.orgDSA-3966https://www.debian.org/security/2017/dsa-3966
- github.comhttps://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
- www.openwall.com[oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Modehttp://www.openwall.com/lists/oss-security/2016/10/01/2
- lists.debian.org[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security updatehttps://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- www.openwall.com[oss-security] 20160919 CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Modehttp://www.openwall.com/lists/oss-security/2016/09/19/9
- www.securityfocus.com93031http://www.securityfocus.com/bid/93031
- github.comhttps://github.com/ruby/openssl/issues/49
07 Fixed in
Debian 12
- ruby-attr-encrypted Fixed in 3.0.1-2
- ruby-encryptor Fixed in 3.0.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ruby-attr-encrypted Fixed in 3.0.1-2
- ruby-encryptor Fixed in 3.0.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ruby-attr-encrypted Fixed in 3.0.1-2
- ruby-encryptor Fixed in 3.0.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- ruby1.9.1 Fixed in 1.9.3.484-2ubuntu1.3
- ruby2.0 Fixed in 2.0.0.484-1ubuntu2.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- ruby-attr-encrypted No fix yet
- ruby-encryptor No fix yet
- ruby2.3 Fixed in 2.3.1-2~16.04.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.