CVE-2016-7798
high
CVSS v3
7.5
CVSS v4 NEW
โ
VIR risk
7.5
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.
Predictions
Exploit likelihood
83%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| debian | bookworm | fixed | 3.0.1-2 |
| debian | bullseye | fixed | 3.0.1-2 |
| debian | sid | fixed | 3.0.1-2 |
| debian | trixie | fixed | 3.0.1-2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ruby-lang | openssl | {"endExcluding":"2.0.0"} | 2.0.0 |
References
- https://github.com/ruby/openssl/issues/49
- http://www.openwall.com/lists/oss-security/2016/09/19/9
- http://www.openwall.com/lists/oss-security/2016/09/30/6
- http://www.openwall.com/lists/oss-security/2016/10/01/2
- http://www.securityfocus.com/bid/93031
- https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://www.debian.org/security/2017/dsa-3966
- https://www.suse.com/security/cve/CVE-2016-7798.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-7798
- https://github.com/advisories/GHSA-6h88-qjpv-p32m
- https://github.com/ruby/openssl
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openssl/CVE-2016-7798.yml
- https://web.archive.org/web/20210121065227/https://www.securityfocus.com/bid/93031/info
- https://security-tracker.debian.org/tracker/CVE-2016-7798
CWEs
CWE-326
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.