CVE-2019-1551rsaz_512_sqr overflow bug on x86_64
There is an overflow bug in the x64_64 Montgomery squaring procedure used in exponentiation with 512-bit moduli. No EC algorithms are affected. Analysis suggests that attacks against 2-prime RSA1024, 3-prime RSA1536, and DSA1024 as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH512 are considered just feasible. However, for an attack the target would have to re-use the DH512 private key, which is not recommended anyway. Also applications directly using the low level API BN_mod_exp may be affected if they use BN_FLG_CONSTTIME. Fixed in OpenSSL 1.1.1e (Affected 1.1.1-1.1.1d). Fixed in OpenSSL 1.0.2u (Affected 1.0.2-1.0.2t).
What to do
Likely to be exploited: EPSS gives a 13% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | openssl | Fixed | 1.1.1f-1ubuntu1 | UBUNTU-CVE-2019-1551 |
| Ubuntu 18.04 | openssl | Fixed | 1.1.1-1ubuntu2.1~18.04.6 | UBUNTU-CVE-2019-1551 |
| Ubuntu 18.04 | openssl1.0 | Fixed | 1.0.2n-1ubuntu5.4 | UBUNTU-CVE-2019-1551 |
| Ubuntu 16.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | openssl | Fixed | 1.0.2g-1ubuntu4.16 | UBUNTU-CVE-2019-1551 |
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Debian 14 | openssl | Fixed | 1.1.1e-1 | DEBIAN-CVE-2019-1551 |
| Debian 13 | openssl | Fixed | 1.1.1e-1 | DEBIAN-CVE-2019-1551 |
| Debian 12 | openssl | Fixed | 1.1.1e-1 | DEBIAN-CVE-2019-1551 |
| Red Hat Enterprise Linux 8 | compat-openssl10 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl | Fixed | 1:1.1.1g-11.el8 | RHSA-2020:4514 |
| Red Hat Enterprise Linux 8 | openssl-devel | Fixed | 1:1.1.1g-11.el8 | RHSA-2020:4514 |
| Red Hat Enterprise Linux 8 | openssl-libs | Fixed | 1:1.1.1g-11.el8 | RHSA-2020:4514 |
| Red Hat Enterprise Linux 8 | openssl-perl | Fixed | 1:1.1.1g-11.el8 | RHSA-2020:4514 |
| Red Hat Enterprise Linux 7 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl098e | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl098e | Not affected | ||
| Red Hat Enterprise Linux 5 | openssl | Not affected | ||
| Red Hat Enterprise Linux 5 | openssl097a | Not affected | ||
| Alpine Linux 3.24 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.23 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.22 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.21 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.20 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.19 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.18 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.18 | openssl1.1-compat | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.17 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.17 | openssl1.1-compat | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.16 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.16 | openssl3 | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.15 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.15 | openssl3 | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.14 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.13 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.12 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.11 | openssl | Fixed | 1.1.1d-r3 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.10 | openssl | Fixed | 1.1.1d-r2 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.9 | openssl | Fixed | 1.1.1d-r2 | ALPINE-CVE-2019-1551 |
| Alpine Linux 3.8 | openssl | Fixed | 1.0.2u-r0 | ALPINE-CVE-2019-1551 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: Fixed in OpenSSL 1.1.1e (Affected 1.1.1-1.1.1d), Fixed in OpenSSL 1.0.2u (Affected 1.0.2-1.0.2t)
Vendor advisories:
- https://www.debian.org/security/2019/dsa-4594 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00030.html (vendor-advisory)
- https://security.gentoo.org/glsa/202004-10 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://seclists.org/bugtraq/2019/Dec/39
- https://www.debian.org/security/2019/dsa-4594
- https://seclists.org/bugtraq/2019/Dec/46
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00030.html
- https://security.gentoo.org/glsa/202004-10
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XVEP3LAK4JSPRXFO4QF4GG2IVXADV3SO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDHOAATPWJCXRNFMJ2SASDBBNU5RJONY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EXDDAOWSAIEFQNBHWYE6PPYFV4QXGMCD/
- https://usn.ubuntu.com/4376-1/
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.tenable.com/security/tns-2019-09
- https://www.openssl.org/news/secadv/20191206.txt
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=419102400a2811582a7a3d4a4e317d72e5ce0a8f
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=f1c5eea8a817075d31e43f5876993c6710238c98
- https://security.netapp.com/advisory/ntap-20191210-0001/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.