{"id":"CVE-2016-7798","state":"PUBLISHED","title":"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 t","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.","publishedAt":"2017-01-30T22:00:00.000Z","updatedAt":"2024-08-06T02:04:56.020Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2016/09/30/6","https://www.debian.org/security/2017/dsa-3966","https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062","http://www.openwall.com/lists/oss-security/2016/10/01/2","https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","http://www.openwall.com/lists/oss-security/2016/09/19/9","http://www.securityfocus.com/bid/93031","https://github.com/ruby/openssl/issues/49"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:53.149Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/7xxx/CVE-2016-7798.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-7798","state":"PUBLISHED","datePublished":"2017-01-30T22:00:00.000Z","dateUpdated":"2024-08-06T02:04:56.020Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-09-09T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/09/30/6","name":"[oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2017/dsa-3966","name":"DSA-3966","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/01/2","name":"[oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/19/9","name":"[oss-security] 20160919 CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/93031","name":"93031","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/ruby/openssl/issues/49","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-07-14T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-03-27T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-7798","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/09/30/6"},{"name":"DSA-3966","refsource":"DEBIAN","url":"https://www.debian.org/security/2017/dsa-3966"},{"name":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062","refsource":"CONFIRM","url":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062"},{"name":"[oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/10/01/2"},{"name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"},{"name":"[oss-security] 20160919 CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/09/19/9"},{"name":"93031","refsource":"BID","url":"http://www.securityfocus.com/bid/93031"},{"name":"https://github.com/ruby/openssl/issues/49","refsource":"CONFIRM","url":"https://github.com/ruby/openssl/issues/49"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2016/09/30/6","name":"[oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.debian.org/security/2017/dsa-3966","name":"DSA-3966","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/01/2","name":"[oss-security] 20160930 Re: CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/19/9","name":"[oss-security] 20160919 CVE Request - Ruby OpenSSL Library - IV Reuse in GCM Mode","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/93031","name":"93031","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://github.com/ruby/openssl/issues/49","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T02:04:56.020Z"}}]}}}