{"schema_version":"1.9.0","id":"GHSA-6h88-qjpv-p32m","published":"2017-10-24T18:33:35Z","modified":"2024-02-16T08:20:58.750802Z","aliases":["CVE-2016-7798"],"summary":"OpenSSL gem for Ruby using inadequate encryption strength","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.","affected":[{"package":{"name":"openssl","ecosystem":"RubyGems","purl":"pkg:gem/openssl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"versions":["2.0.0.beta.1","2.0.0.beta.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-6h88-qjpv-p32m/GHSA-6h88-qjpv-p32m.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7798"},{"type":"WEB","url":"https://github.com/ruby/openssl/issues/49"},{"type":"WEB","url":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6h88-qjpv-p32m"},{"type":"PACKAGE","url":"https://github.com/ruby/openssl"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openssl/CVE-2016-7798.yml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"},{"type":"WEB","url":"https://web.archive.org/web/20210121065227/https://www.securityfocus.com/bid/93031/info"},{"type":"WEB","url":"https://www.debian.org/security/2017/dsa-3966"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/09/19/9"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/09/30/6"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/10/01/2"}],"database_specific":{"cwe_ids":["CWE-326"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:19:22Z","nvd_published_at":null,"severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}