Vulnerability · Published Apr 5, 2021 · Assigned by redhat
CVE-2021-20305
High 8.1
In plain English
A high-severity broken cryptography in nettle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in Nettle in versions before 3.7.2, where several Nettle signature verification functions (GOST DSA, EDDSA & ECDSA) result in the Elliptic Curve Cryptography point (ECC) multiply function being called with out-of-range scalers, possibly resulting in incorrect results. This flaw allows an attacker to force an invalid signature, causing an assertion failure or possible validation. The highest threat to this vulnerability is to confidentiality, integrity, as well as system availability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | nettle | 3.7.2-r0 | ALPINE-CVE-2021-20305 |
| Alpine:v3.21 | nettle | 3.7.2-r0 | ALPINE-CVE-2021-20305 |
| Alpine:v3.22 | nettle | 3.7.2-r0 | ALPINE-CVE-2021-20305 |
| Alpine:v3.23 | nettle | 3.7.2-r0 | ALPINE-CVE-2021-20305 |
| Alpine:v3.24 | nettle | 3.7.2-r0 | ALPINE-CVE-2021-20305 |
| Debian:12 | nettle | 3.7.2-1 | DEBIAN-CVE-2021-20305 |
| Debian:13 | nettle | 3.7.2-1 | DEBIAN-CVE-2021-20305 |
| Debian:14 | nettle | 3.7.2-1 | DEBIAN-CVE-2021-20305 |
| Rocky Linux:8 | gnutls | 0:3.6.14-8.el8_3 | RLSA-2021:1206 |
| Rocky Linux:8 | nettle | 0:3.4.1-4.el8_4 | RLSA-2021:1206 |
Affected products (as reported)
Weakness: CWE-327
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1942533 x_refsource_MISC
- GLSA-202105-31 vendor-advisory, x_refsource_GENTOO
- FEDORA-2021-454a0f6f76 vendor-advisory, x_refsource_FEDORA
- DSA-4933 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20210918 [SECURITY] [DLA 2760-1] nettle security update mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20211022-0002/ x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html