{
    "CVE_data_meta": {
        "ASSIGNER": "openssl-security@openssl.org",
        "DATE_PUBLIC": "2019-02-26",
        "ID": "CVE-2019-1559",
        "STATE": "PUBLIC",
        "TITLE": "0-byte record padding oracle"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "OpenSSL",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Fixed in OpenSSL 1.0.2r (Affected 1.0.2-1.0.2q)"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "OpenSSL"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Juraj Somorovsky, Robert Merget and Nimrod Aviram, with additional investigation by Steven Collison and Andrew Hourselt"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "If an application encounters a fatal protocol error and then calls SSL_shutdown() twice (once to send a close_notify, and once to receive one) then OpenSSL can respond differently to the calling application if a 0 byte record is received with invalid padding compared to if a 0 byte record is received with an invalid MAC. If the application then behaves differently based on that in a way that is detectable to the remote peer, then this amounts to a padding oracle that could be used to decrypt data. In order for this to be exploitable \"non-stitched\" ciphersuites must be in use. Stitched ciphersuites are optimised implementations of certain commonly used ciphersuites. Also the application must call SSL_shutdown() twice even if a protocol error has occurred (applications should not do this but some do anyway). Fixed in OpenSSL 1.0.2r (Affected 1.0.2-1.0.2q)."
            }
        ]
    },
    "impact": [
        {
            "lang": "eng",
            "url": "https://www.openssl.org/policies/secpolicy.html#Moderate",
            "value": "Moderate"
        }
    ],
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Padding Oracle"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "107174",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/107174"
            },
            {
                "name": "GLSA-201903-10",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201903-10"
            },
            {
                "name": "USN-3899-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3899-1/"
            },
            {
                "name": "[debian-lts-announce] 20190301 [SECURITY] [DLA 1701-1] openssl security update",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00003.html"
            },
            {
                "name": "DSA-4400",
                "refsource": "DEBIAN",
                "url": "https://www.debian.org/security/2019/dsa-4400"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1076",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00041.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1105",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00019.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1173",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00046.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1175",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00047.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1432",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00049.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1637",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00080.html"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:2304",
                "url": "https://access.redhat.com/errata/RHSA-2019:2304"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:2439",
                "url": "https://access.redhat.com/errata/RHSA-2019:2439"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:2437",
                "url": "https://access.redhat.com/errata/RHSA-2019:2437"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:2471",
                "url": "https://access.redhat.com/errata/RHSA-2019:2471"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2019-db06efdea1",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EWC42UXL5GHTU5G77VKBF6JYUUNGSHOM/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2019-00c25b9379",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBEV5QGDRFUZDMNECFXUSN5FMYOZDE4V/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2019-9a0a7c0986",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y3IVFGSERAZLNJCK35TEM2R4726XIH3Z/"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:3929",
                "url": "https://access.redhat.com/errata/RHSA-2019:3929"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:3931",
                "url": "https://access.redhat.com/errata/RHSA-2019:3931"
            },
            {
                "url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
            },
            {
                "url": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html"
            },
            {
                "url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpujan2020.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpujan2020.html"
            },
            {
                "refsource": "UBUNTU",
                "name": "USN-4376-2",
                "url": "https://usn.ubuntu.com/4376-2/"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpujan2021.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpujan2021.html"
            },
            {
                "name": "https://security.netapp.com/advisory/ntap-20190301-0001/",
                "refsource": "CONFIRM",
                "url": "https://security.netapp.com/advisory/ntap-20190301-0001/"
            },
            {
                "name": "https://security.netapp.com/advisory/ntap-20190301-0002/",
                "refsource": "CONFIRM",
                "url": "https://security.netapp.com/advisory/ntap-20190301-0002/"
            },
            {
                "name": "https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=e9bbefbf0f24c57645e7ad6a5a71ae649d18ac8e",
                "refsource": "CONFIRM",
                "url": "https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=e9bbefbf0f24c57645e7ad6a5a71ae649d18ac8e"
            },
            {
                "name": "https://www.openssl.org/news/secadv/20190226.txt",
                "refsource": "CONFIRM",
                "url": "https://www.openssl.org/news/secadv/20190226.txt"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.f5.com/csp/article/K18549143",
                "url": "https://support.f5.com/csp/article/K18549143"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://www.tenable.com/security/tns-2019-02",
                "url": "https://www.tenable.com/security/tns-2019-02"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20190423-0002/",
                "url": "https://security.netapp.com/advisory/ntap-20190423-0002/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://www.tenable.com/security/tns-2019-03",
                "url": "https://www.tenable.com/security/tns-2019-03"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://kc.mcafee.com/corporate/index?page=content&id=SB10282",
                "url": "https://kc.mcafee.com/corporate/index?page=content&id=SB10282"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.f5.com/csp/article/K18549143?utm_source=f5support&amp;utm_medium=RSS",
                "url": "https://support.f5.com/csp/article/K18549143?utm_source=f5support&amp;utm_medium=RSS"
            }
        ]
    }
}