CVE-2019-1559

0-byte record padding oracle

Description

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).

Category

5.9
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 4.43% Top 15%
Vendor Advisory gentoo.org Vendor Advisory ubuntu.com Vendor Advisory debian.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory openssl.org
Affected: OpenSSL OpenSSL
Published at:
Updated at:

References

Link Tags
http://www.securityfocus.com/bid/107174 vdb entry third party advisory
https://security.gentoo.org/glsa/201903-10 third party advisory vendor advisory
https://usn.ubuntu.com/3899-1/ third party advisory vendor advisory
https://lists.debian.org/debian-lts-announce/2019/03/msg00003.html third party advisory mailing list
https://www.debian.org/security/2019/dsa-4400 third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00041.html mailing list third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00019.html mailing list third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00046.html mailing list third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00047.html mailing list third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00049.html mailing list third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00080.html mailing list third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:2304 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:2439 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:2437 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:2471 third party advisory vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EWC42UXL5GHTU5G77VKBF6JYUUNGSHOM/ vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBEV5QGDRFUZDMNECFXUSN5FMYOZDE4V/ vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y3IVFGSERAZLNJCK35TEM2R4726XIH3Z/ vendor advisory
https://access.redhat.com/errata/RHSA-2019:3929 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:3931 third party advisory vendor advisory
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html third party advisory patch
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html third party advisory patch
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html third party advisory patch
https://www.oracle.com/security-alerts/cpujan2020.html third party advisory
https://usn.ubuntu.com/4376-2/ vendor advisory broken link
https://www.oracle.com/security-alerts/cpujan2021.html third party advisory
https://security.netapp.com/advisory/ntap-20190301-0001/ third party advisory patch
https://security.netapp.com/advisory/ntap-20190301-0002/ third party advisory broken link
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=e9bbefbf0f24c57645e7ad6a5a71ae649d18ac8e
https://www.openssl.org/news/secadv/20190226.txt vendor advisory
https://support.f5.com/csp/article/K18549143 third party advisory
https://www.tenable.com/security/tns-2019-02 third party advisory patch
https://security.netapp.com/advisory/ntap-20190423-0002/ third party advisory
https://www.tenable.com/security/tns-2019-03 third party advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10282 third party advisory
https://support.f5.com/csp/article/K18549143?utm_source=f5support&%3Butm_medium=RSS

Frequently Asked Questions

What is the severity of CVE-2019-1559?
CVE-2019-1559 has been scored as a medium severity vulnerability.
How to fix CVE-2019-1559?
To fix CVE-2019-1559, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2019-1559 being actively exploited in the wild?
It is possible that CVE-2019-1559 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~4% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2019-1559?
CVE-2019-1559 affects OpenSSL OpenSSL.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.