CVE-2019-1559

MEDIUM

OpenSSL 1.0.2-1.0.2q - Padding Oracle via SSL_shutdown Double Call

Title source: llm
STIX 2.1

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

References (36)

Core 36
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/107174
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201903-10
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3899-1/
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/03/msg00003.html
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2019/dsa-4400
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00041.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00019.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00046.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00047.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00049.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00080.html
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2304
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2439
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2437
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2471
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:3929
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:3931
Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpujan2020.html
Broken Link vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4376-2/
Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpujan2021.html
Patch, Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20190301-0001/
Broken Link, Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20190301-0002/
Vendor Advisory x_refsource_confirm
https://www.openssl.org/news/secadv/20190226.txt
Third Party Advisory x_refsource_confirm
https://support.f5.com/csp/article/K18549143
Patch, Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2019-02
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20190423-0002/
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2019-03
Third Party Advisory x_refsource_confirm
https://kc.mcafee.com/corporate/index?page=content&id=SB10282

Scores

CVSS v3 5.9
EPSS 0.0496
EPSS Percentile 89.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-203
Status published
Products (49)
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
canonical/ubuntu_linux 18.10
debian/debian_linux 8.0
debian/debian_linux 9.0
f5/big-ip_access_policy_manager 12.1.0 - 12.1.5
f5/big-ip_advanced_firewall_manager 12.1.0 - 12.1.5
f5/big-ip_analytics 12.1.0 - 12.1.5
f5/big-ip_application_acceleration_manager 12.1.0 - 12.1.5
f5/big-ip_application_security_manager 12.1.0 - 12.1.5
... and 39 more
Published Feb 27, 2019
Tracked Since Feb 18, 2026