{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2016-0787",
        "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 diffie_hellman_sha256 function in kex.c in libssh2 before 1.7.0 improperly truncates secrets to 128 or 256 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via unspecified vectors, aka a \"bits/bytes confusion bug.\""
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "FEDORA-2016-215a2219b1",
                "refsource": "FEDORA",
                "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177980.html"
            },
            {
                "name": "https://kc.mcafee.com/corporate/index?page=content&id=SB10156",
                "refsource": "CONFIRM",
                "url": "https://kc.mcafee.com/corporate/index?page=content&id=SB10156"
            },
            {
                "name": "http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html",
                "refsource": "CONFIRM",
                "url": "http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html"
            },
            {
                "name": "https://www.libssh2.org/CVE-2016-0787.patch",
                "refsource": "CONFIRM",
                "url": "https://www.libssh2.org/CVE-2016-0787.patch"
            },
            {
                "name": "https://www.libssh2.org/adv_20160223.html",
                "refsource": "CONFIRM",
                "url": "https://www.libssh2.org/adv_20160223.html"
            },
            {
                "name": "https://puppet.com/security/cve/CVE-2016-0787",
                "refsource": "CONFIRM",
                "url": "https://puppet.com/security/cve/CVE-2016-0787"
            },
            {
                "name": "FEDORA-2016-7942ee2cc5",
                "refsource": "FEDORA",
                "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178573.html"
            },
            {
                "name": "GLSA-201606-12",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201606-12"
            },
            {
                "name": "openSUSE-SU-2016:0639",
                "refsource": "SUSE",
                "url": "http://lists.opensuse.org/opensuse-updates/2016-03/msg00008.html"
            },
            {
                "name": "https://bto.bluecoat.com/security-advisory/sa120",
                "refsource": "CONFIRM",
                "url": "https://bto.bluecoat.com/security-advisory/sa120"
            },
            {
                "name": "DSA-3487",
                "refsource": "DEBIAN",
                "url": "http://www.debian.org/security/2016/dsa-3487"
            },
            {
                "name": "82514",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/82514"
            }
        ]
    }
}