{"id":"CVE-2016-7798","details":"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.","aliases":["GHSA-6h88-qjpv-p32m"],"modified":"2026-06-18T04:03:33.687542197Z","published":"2017-01-30T22:59:00.747Z","related":["SUSE-SU-2020:1570-1"],"database_specific":{"unresolved_ranges":[{"source":"CPE_STRING","vendor_product":"debian:debian_linux","extracted_events":[{"last_affected":"8.0"},{"last_affected":"9.0"}],"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"]}]},"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/09/19/9"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/01/2"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93031"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2017/dsa-3966"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/09/30/6"},{"type":"FIX","url":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062"},{"type":"EVIDENCE","url":"https://github.com/ruby/openssl/issues/49"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ruby/openssl","events":[{"introduced":"0"},{"fixed":"4ff95439d0b13aac7b9b2e3674f0a6662c715ec6"},{"fixed":"8108e0a6db133f3375608303fdd2083eb5115062"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"2.0.0"}],"cpe":"cpe:2.3:a:ruby-lang:openssl:*:*:*:*:*:ruby:*:*"}}],"versions":["v2.0.0.beta.2","v2.0.0.beta.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7798.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}