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.
www.openwall.com/lists/oss-security/2016/09/19/9
www.openwall.com/lists/oss-security/2016/09/30/6
www.openwall.com/lists/oss-security/2016/10/01/2
github.com/advisories/GHSA-6h88-qjpv-p32m
github.com/ruby/openssl
github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
github.com/ruby/openssl/issues/49
github.com/rubysec/ruby-advisory-db/blob/master/gems/openssl/CVE-2016-7798.yml
lists.debian.org/debian-lts-announce/2018/07/msg00012.html
nvd.nist.gov/vuln/detail/CVE-2016-7798
web.archive.org/web/20210121065227/https://www.securityfocus.com/bid/93031/info
www.debian.org/security/2017/dsa-3966