Vulnerabilities · 2016 · Ruby-lang
CVE-2016-7798
Ruby-lang Openssl vulnerability
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.
Affected products
Openssl, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Openssl runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.openwall.com/lists/oss-security/2016/09/30/6 · Patch
- github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062 · Patch
- www.openwall.com/lists/oss-security/2016/09/19/9 · Third Party Advisory
- www.openwall.com/lists/oss-security/2016/10/01/2 · Third Party Advisory
- www.securityfocus.com/bid/93031 · Third Party Advisory
- github.com/ruby/openssl/issues/49 · Exploit
- lists.debian.org/debian-lts-announce/2018/07/msg00012.html · Third Party Advisory
- www.debian.org/security/2017/dsa-3966 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2016-7798
- cve.org/CVERecord?id=CVE-2016-7798
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.