{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-7798","id":"CVE-2016-7798","title":"OpenSSL gem for Ruby using inadequate encryption strength","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.","descriptionLong":"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.","published":"2017-01-30T22:00:00.000Z","updated":"2026-10-20T13:13:21.888428933Z","reserved":"2016-09-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"openssl","purl":"pkg:gem/openssl","ranges":["<2.0.0"],"fixed":["2.0.0"],"advisory":"GHSA-6h88-qjpv-p32m"}],"cwes":["CWE-326"],"aliases":["GHSA-6h88-qjpv-p32m"],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/09/30/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.debian.org/security/2017/dsa-3966","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/01/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/19/9","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/93031","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://github.com/ruby/openssl/issues/49","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7798","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6h88-qjpv-p32m","tags":["advisory"]},{"url":"https://github.com/ruby/openssl","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openssl/CVE-2016-7798.yml","tags":["web"]},{"url":"https://web.archive.org/web/20210121065227/https://www.securityfocus.com/bid/93031/info","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03167,"epssPercentile":0.88265,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-7798","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7798","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-7798","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6h88-qjpv-p32m","ok":true,"note":"GHSA-6h88-qjpv-p32m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-7798","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["openssl"],"critical":[],"attention":null}