7.5high
CVE-2016-7798
OpenSSL gem for Ruby using inadequate encryption strength
Also known as GHSA-6h88-qjpv-p32m
Published 9 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
3.2%
percentile 88%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
3.17% probability of exploitation in the next 30 days, higher than 88% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | openssl | <2.0.0 | 2.0.0 |
Classification
- Weakness
- CWE-326 Inadequate Encryption Strength
References
- openwall.com /lists/oss-security/2016/09/30/6 · mailing-list, x_refsource_MLIST, x_transferred
- debian.org /security/2017/dsa-3966 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- github.com /ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062 · x_refsource_CONFIRM, x_transferred
- openwall.com /lists/oss-security/2016/10/01/2 · mailing-list, x_refsource_MLIST, x_transferred
- lists.debian.org /debian-lts-announce/2018/07/msg00012.html · mailing-list, x_refsource_MLIST, x_transferred
- openwall.com /lists/oss-security/2016/09/19/9 · mailing-list, x_refsource_MLIST, x_transferred
- securityfocus.com /bid/93031 · vdb-entry, x_refsource_BID, x_transferred
- github.com /ruby/openssl/issues/49 · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-7798 · advisory
- github.com /advisories/GHSA-6h88-qjpv-p32m · advisory
- github.com /ruby/openssl · package
- github.com /rubysec/ruby-advisory-db/blob/master/gems/openssl/CVE-2016-7798.yml · web
- web.archive.org /web/20210121065227/https://www.securityfocus.com/bid/93031/info · web
Sources
- CVE List: CVE-2016-7798
- GitHub Advisory: GHSA-6h88-qjpv-p32m
- NVD: CVE-2016-7798
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.