CVE-2016-7798
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure.
- Exploit odds
- 3.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.2% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.2% · EPSS, next 30 days
- Weakness
- CWE-326 · Inadequate encryption strength
- Record status
- Modified
Affected
- ruby-lang OpenSSL < 2.0.0
- Debian Linux 8.0
- Debian Linux 9.0
Attack profile CVSS 3.1 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-7798.md and follow it. Check whether this project is affected by CVE-2016-7798. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.openwall.com/lists/oss-security/2016/09/30/6
- https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
- http://www.openwall.com/lists/oss-security/2016/09/30/6
- https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
References
- 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://github.com/ruby/openssl/issues/49
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://www.debian.org/security/2017/dsa-3966
- 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://github.com/ruby/openssl/issues/49
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://www.debian.org/security/2017/dsa-3966