CVE-2016-7798

Summary

CVECVE-2016-7798
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-01-30 22:59:00 UTC
Updated2020-11-05 14:56:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-326

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Ruby-lang Openssl All All All All
Application Ruby-lang Openssl All All All All

References

ReferenceSourceLinkTags
oss-security - Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode MLIST www.openwall.com Mailing List, Third Party Advisory
cipher: don't set dummy encryption key in Cipher#initialize · ruby/openssl@8108e0a · GitHub CONFIRM github.com Patch, Third Party Advisory
[SECURITY] [DLA 1421-1] ruby2.1 security update MLIST lists.debian.org Mailing List, Third Party Advisory
Possible bug: order of setting key vs. IV affects encryption with AES GCM · Issue #49 · ruby/openssl · GitHub CONFIRM github.com Exploit, Third Party Advisory
Ruby OpenSSL Security Bypass Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
oss-security - CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode MLIST www.openwall.com Mailing List, Third Party Advisory
oss-security - Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode MLIST www.openwall.com Mailing List, Patch, Third Party Advisory
Debian -- Security Information -- DSA-3966-1 ruby2.3 DEBIAN www.debian.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 900014 CBL-Mariner Linux Security Update for openssl 1.1.1g
  • 902873 Common Base Linux Mariner (CBL-Mariner) Security Update for Open Secure Sockets Layer (OpenSSL) (2688)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report