{
    "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"
            }
        ]
    }
}