CVE-2019-1547 ECDSA remote timing attack
- Published
- Updated
- Exploit status
- No public exploit known
Description
Normally in OpenSSL EC groups always have a co-factor present and this is used in side channel resistant code paths. However, in some cases, it is possible to construct a group using explicit parameters (instead of using a named curve). In those cases it is possible that such a group does not have the cofactor present. This can occur even where all the parameters match a known named curve. If such a curve is used then OpenSSL falls back to non-side channel resistant code paths which may result in full key recovery during an ECDSA signature operation. In order to be vulnerable an attacker would have to have the ability to time the creation of a large number of signatures where explicit parameters with no co-factor present are in use by an application using libcrypto. For the avoidance of doubt libssl is not vulnerable because explicit parameters are never used. Fixed in OpenSSL 1.1.1d (Affected 1.1.1-1.1.1c). Fixed in OpenSSL 1.1.0l (Affected 1.1.0-1.1.0k). Fixed in OpenSSL 1.0.2t (Affected 1.0.2-1.0.2s).
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/openssl(Debian:12) | < 1.1.1d-1 | 1.1.1d-1 |
| debian/openssl(Debian:13) | < 1.1.1d-1 | 1.1.1d-1 |
| debian/openssl(Debian:14) | < 1.1.1d-1 | 1.1.1d-1 |
| OpenSSL | >= 1.0.2, <= 1.0.2s | No fix listed |
| OpenSSL | >= 1.1.0, <= 1.1.0k | No fix listed |
| OpenSSL | >= 1.1.1, <= 1.1.1c | No fix listed |
| alpine/openssl(Alpine:v3.10) | >= 1.0.2, < 1.1.1d-r0 | 1.1.1d-r0 |
| alpine/openssl(Alpine:v3.11) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.12) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.13) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.14) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.15) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.16) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.17) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.18) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.19) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.20) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.21) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.22) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.23) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.24) | >= 1.0.2, < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl(Alpine:v3.7) | >= 1.0.2, < 1.0.2t-r0 | 1.0.2t-r0 |
| alpine/openssl(Alpine:v3.8) | >= 1.0.2, < 1.0.2t-r0 | 1.0.2t-r0 |
| alpine/openssl(Alpine:v3.9) | >= 1.0.2, < 1.1.1d-r0 | 1.1.1d-r0 |
| alpine/openssl1.1-compat(Alpine:v3.17) | < 1.1.1d-r1 | 1.1.1d-r1 |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/openssl1.1-compat(Alpine:v3.18) | < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl3(Alpine:v3.15) | < 1.1.1d-r1 | 1.1.1d-r1 |
| alpine/openssl3(Alpine:v3.16) | < 1.1.1d-r1 | 1.1.1d-r1 |
| OpenSSL | = Fixed in OpenSSL 1.1.1d (Affected 1.1.1-1.1.1c) | No fix listed |
| OpenSSL | = Fixed in OpenSSL 1.1.0l (Affected 1.1.0-1.1.0k) | No fix listed |
| OpenSSL | = Fixed in OpenSSL 1.0.2t (Affected 1.0.2-1.0.2s) | No fix listed |
References
- Debian Security Tracker CVE-2019-1547 vendor-advisory
- openSUSE-SU-2019:2158 vendor-advisory
- openSUSE-SU-2019:2189 vendor-advisory
- openSUSE-SU-2019:2268 vendor-advisory
- openSUSE-SU-2019:2269 vendor-advisory
- packetstormsecurity.com
- arxiv.org third-party-advisory
- git.openssl.org
- git.openssl.org
- git.openssl.org
- kc.mcafee.com
- [debian-lts-announce] 20190925 [SECURITY] [DLA 1932-1] openssl security update mailing-list
- FEDORA-2019-d15aac6c4e vendor-advisory
- FEDORA-2019-d51641f152 vendor-advisory
- 20191001 [SECURITY] [DSA 4540-1] openssl1.0 security update mailing-list
- 20191001 [SECURITY] [DSA 4539-1] openssl security update mailing-list
- 20190912 [slackware-security] openssl (SSA:2019-254-03) mailing-list third-party-advisory
- GLSA-201911-04 vendor-advisory
- security.netapp.com
- security.netapp.com
- security.netapp.com
- security.netapp.com
- support.f5.com
- USN-4376-1 vendor-advisory
- USN-4376-2 vendor-advisory
- USN-4504-1 vendor-advisory
- DSA-4539 vendor-advisory
- DSA-4540 vendor-advisory
- www.openssl.org vendor-advisory
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.tenable.com
- www.tenable.com
- security.alpinelinux.org vendor-advisory