CVE-2019-1543ChaCha20-Poly1305 with long nonces
ChaCha20-Poly1305 is an AEAD cipher, and requires a unique nonce input for every encryption operation. RFC 7539 specifies that the nonce value (IV) should be 96 bits (12 bytes). OpenSSL allows a variable nonce length and front pads the nonce with 0 bytes if it is less than 12 bytes. However it also incorrectly allows a nonce to be set of up to 16 bytes. In this case only the last 12 bytes are significant and any additional leading bytes are ignored. It is a requirement of using this cipher that nonce values are unique. Messages encrypted using a reused nonce value are susceptible to serious confidentiality and integrity attacks. If an application changes the default nonce length to be longer than 12 bytes and then makes a change to the leading bytes of the nonce expecting the new value to be a new unique nonce then such an application could inadvertently encrypt messages with a reused nonce. Additionally the ignored bytes in a long nonce are not covered by the integrity guarantee of this cipher. Any application that relies on the integrity of these ignored leading bytes of a long nonce may be further affected. Any OpenSSL internal use of this cipher, including in SSL/TLS, is safe because no such use sets such a long nonce value. However user applications that use this cipher directly and set a non-default nonce length to be longer than 12 bytes may be vulnerable. OpenSSL versions 1.1.1 and 1.1.0 are affected by this issue. Due to the limited scope of affected deployments this has been assessed as low severity and therefore we are not creating new releases at this time. Fixed in OpenSSL 1.1.1c (Affected 1.1.1-1.1.1b). Fixed in OpenSSL 1.1.0k (Affected 1.1.0-1.1.0j).
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
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 18.04 | openssl | Fixed | 1.1.1-1ubuntu2.1~18.04.2 | UBUNTU-CVE-2019-1543 |
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | openssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | openssl098 | Not affected vulnerable_code_not_present | ||
| Debian 14 | openssl | Fixed | 1.1.1c-1 | DEBIAN-CVE-2019-1543 |
| Debian 13 | openssl | Fixed | 1.1.1c-1 | DEBIAN-CVE-2019-1543 |
| Debian 12 | openssl | Fixed | 1.1.1c-1 | DEBIAN-CVE-2019-1543 |
| Red Hat Enterprise Linux 8 | compat-openssl10 | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw32-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw64-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl | Fixed | 1:1.1.1c-2.el8 | RHSA-2019:3700 |
| Red Hat Enterprise Linux 8 | openssl-devel | Fixed | 1:1.1.1c-2.el8 | RHSA-2019:3700 |
| Red Hat Enterprise Linux 8 | openssl-libs | Fixed | 1:1.1.1c-2.el8 | RHSA-2019:3700 |
| Red Hat Enterprise Linux 8 | openssl-perl | Fixed | 1:1.1.1c-2.el8 | RHSA-2019:3700 |
| Red Hat Enterprise Linux 7 | OVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-static | Not affected | ||
| 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 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.24 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.23 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.23 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.22 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.22 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.21 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.21 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.20 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.20 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.19 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.19 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.18 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.18 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.18 | openssl1.1-compat | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.17 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.17 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.17 | openssl1.1-compat | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.16 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.16 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.16 | openssl3 | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.15 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.15 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.15 | openssl3 | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.14 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.14 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.13 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.13 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.12 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.12 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.11 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.11 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.10 | file | Fixed | 5.36-r0 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.10 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
| Alpine Linux 3.9 | openssl | Fixed | 1.1.1b-r1 | ALPINE-CVE-2019-1543 |
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.1c (Affected 1.1.1-1.1.1b), Fixed in OpenSSL 1.1.0k (Affected 1.1.0-1.1.0j)
Vendor advisories:
- https://www.debian.org/security/2019/dsa-4475 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00056.html (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://access.redhat.com/errata/RHSA-2019:3700 (vendor-advisory)
References
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=f426625b6ae9a7831010750490a5f0ad689c5ba3
- https://www.openssl.org/news/secadv/20190306.txt
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=ee22257b1418438ebaf54df98af4e24f494d1809
- https://seclists.org/bugtraq/2019/Jul/3
- https://www.debian.org/security/2019/dsa-4475
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00056.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBEV5QGDRFUZDMNECFXUSN5FMYOZDE4V/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y3IVFGSERAZLNJCK35TEM2R4726XIH3Z/
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- https://access.redhat.com/errata/RHSA-2019:3700
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365
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.