
CVE catalog
CVE-2021-20305
nettle: CVE-2021-20305
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.74% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nettle | sid | 3.10.2-1 | fixed |
| Debian | nettle | forky | 3.10.2-1 | fixed |
| Debian | nettle | trixie | 3.10.1-1 | fixed |
| Debian | nettle | bookworm | 3.8.1-2 | fixed |
| Cpe | nettle | Not reported | 3.7.2 | fixed |
| Cpe | fedora | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| Cpe | active_iq_unified_manager | Not reported | Not reported | unknown |
| Cpe | ontap_select_deploy_administration_utility | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Alpine | nettle | 3.13 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.14 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.15 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.16 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.17 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.18 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.19 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.20 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.21 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.22 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.23 | 3.7.2-r0 | fixed |
| Alpine | nettle | 3.24 | 3.7.2-r0 | fixed |
| Ubuntu | nettle | 16.04 | 3.1.1-4 | vulnerable |
| Ubuntu | nettle | 16.04 | 3.2-1 | vulnerable |
| Ubuntu | nettle | 16.04 | 3.2-1ubuntu0.16.04.1 | vulnerable |
| Ubuntu | nettle | 16.04 | 3.2-1ubuntu0.16.04.2 | fixed |
| Ubuntu | nettle | 18.04 | 3.3-2 | vulnerable |
| Ubuntu | nettle | 18.04 | 3.4-1 | vulnerable |
| Ubuntu | nettle | 18.04 | 3.4-1ubuntu0.1 | fixed |
| Ubuntu | nettle | 20.04 | 3.4.1-1 | vulnerable |
| Ubuntu | nettle | 20.04 | 3.5.1+really3.5.1-2 | vulnerable |
| Ubuntu | nettle | 20.04 | 3.5.1+really3.5.1-2ubuntu0.1 | fixed |
| Ubuntu | nettle | 14.04 | 2.7.1-1 | vulnerable |
| Ubuntu | nettle | 14.04 | 2.7.1-1ubuntu0.1 | vulnerable |
| Ubuntu | nettle | 14.04 | 2.7.1-1ubuntu0.2 | vulnerable |
| Ubuntu | nettle | 16.04 | 3.1.1-4 | vulnerable |
| Ubuntu | nettle | 16.04 | 3.2-1 | vulnerable |
| Ubuntu | nettle | 16.04 | 3.2-1ubuntu0.16.04.1 | vulnerable |
| Ubuntu | nettle | 16.04 | 3.2-1ubuntu0.16.04.2 | fixed |
| Ubuntu | nettle | 18.04 | 3.3-2 | vulnerable |
| Ubuntu | nettle | 18.04 | 3.4-1 | vulnerable |
| Ubuntu | nettle | 18.04 | 3.4-1ubuntu0.1 | fixed |
| Ubuntu | nettle | 20.04 | 3.4.1-1 | vulnerable |
| Ubuntu | nettle | 20.04 | 3.5.1+really3.5.1-2 | vulnerable |
| Ubuntu | nettle | 20.04 | 3.5.1+really3.5.1-2ubuntu0.1 | fixed |
| Suse | libnettle | linux enterprise module for basesystem 15 sp2 | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise high performance computing 15-espos | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise high performance computing 15-ltss | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise high performance computing 15 sp1-espos | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise high performance computing 15 sp1-ltss | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise server 15-ltss | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise server 15 sp1-bcl | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise server 15 sp1-ltss | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise server for sap applications 15 | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise server for sap applications 15 sp1 | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | manager proxy 4.0 | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | manager retail branch server 4.0 | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | manager server 4.0 | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | linux enterprise micro 5.0 | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | enterprise storage 6 | 3.4.1-4.15.1 | fixed |
| Suse | libnettle | hpe helion openstack 8 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | openstack cloud 8 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | openstack cloud 9 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | openstack cloud crowbar 8 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | openstack cloud crowbar 9 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise server for sap applications 12 sp3 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise server for sap applications 12 sp4 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise software development kit 12 sp5 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise server 12 sp2-bcl | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise server 12 sp3-ltss | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise server 12 sp3-bcl | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise server 12 sp4-ltss | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise server 12 sp5 | 2.7.1-13.3.1 | fixed |
| Suse | libnettle | linux enterprise server for sap applications 12 sp5 | 2.7.1-13.3.1 | fixed |
| Opensuse | libnettle | leap 15.2 | 3.4.1-lp152.4.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nettle | source | sid | 3.7.2-1 | not yet assigned | Not reported | [985652] |
| Debian | nettle | source | forky | 3.7.2-1 | not yet assigned | Not reported | [985652] |
| Debian | nettle | source | trixie | 3.7.2-1 | not yet assigned | Not reported | [985652] |
| Debian | nettle | source | bookworm | 3.7.2-1 | not yet assigned | Not reported | [985652] |
| Cpe | nettle | cpe | Not reported | 3.7.2 | Not reported | NVD-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.13 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.14 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.15 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.16 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.17 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.18 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.19 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.20 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.21 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.22 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.23 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Alpine | nettle | apk | 3.24 | 3.7.2-r0 | Not reported | ALPINE-CVE-2021-20305 | Not reported |
| Ubuntu | nettle | deb | 16.04 | 3.2-1ubuntu0.16.04.2 | Not reported | USN-4906-1 | Not reported |
| Ubuntu | nettle | deb | 18.04 | 3.4-1ubuntu0.1 | Not reported | USN-4906-1 | Not reported |
| Ubuntu | nettle | deb | 20.04 | 3.5.1+really3.5.1-2ubuntu0.1 | Not reported | USN-4906-1 | Not reported |
| Ubuntu | nettle | deb | 16.04 | 3.2-1ubuntu0.16.04.2 | Not reported | UBUNTU-CVE-2021-20305 | Not reported |
| Ubuntu | nettle | deb | 18.04 | 3.4-1ubuntu0.1 | Not reported | UBUNTU-CVE-2021-20305 | Not reported |
| Ubuntu | nettle | deb | 20.04 | 3.5.1+really3.5.1-2ubuntu0.1 | Not reported | UBUNTU-CVE-2021-20305 | Not reported |
| Suse | libnettle | rpm | linux enterprise module for basesystem 15 sp2 | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise high performance computing 15-espos | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise high performance computing 15-ltss | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise high performance computing 15 sp1-espos | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise high performance computing 15 sp1-ltss | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server 15-ltss | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server 15 sp1-bcl | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server 15 sp1-ltss | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server for sap applications 15 | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server for sap applications 15 sp1 | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | manager proxy 4.0 | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | manager retail branch server 4.0 | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | manager server 4.0 | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise micro 5.0 | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | enterprise storage 6 | 3.4.1-4.15.1 | Not reported | SUSE-SU-2021:1412-1 | Not reported |
| Suse | libnettle | rpm | hpe helion openstack 8 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | openstack cloud 8 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | openstack cloud 9 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | openstack cloud crowbar 8 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | openstack cloud crowbar 9 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server for sap applications 12 sp3 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server for sap applications 12 sp4 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise software development kit 12 sp5 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server 12 sp2-bcl | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server 12 sp3-ltss | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server 12 sp3-bcl | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server 12 sp4-ltss | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server 12 sp5 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Suse | libnettle | rpm | linux enterprise server for sap applications 12 sp5 | 2.7.1-13.3.1 | Not reported | SUSE-SU-2021:1399-1 | Not reported |
| Opensuse | libnettle | rpm | leap 15.2 | 3.4.1-lp152.4.3.1 | Not reported | OPENSUSE-SU-2021:0635-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libhogweed6]Fixed
Source package: [nettle]
Details (2)
3.8.1-2· amd64 · bookwormFixed · Fixed:
3.7.2-1dsa · nettle · debian · bookworm
3.8.1-2· arm64 · bookwormFixed · Fixed:
3.7.2-1dsa · nettle · debian · bookworm
- [libnettle8]Fixed
Source package: [nettle]
Details (2)
3.8.1-2· amd64 · bookwormFixed · Fixed:
3.7.2-1dsa · nettle · debian · bookworm
3.8.1-2· arm64 · bookwormFixed · Fixed:
3.7.2-1dsa · nettle · debian · bookworm
- [nettle-bin]Fixed
Source package: [nettle]
Details (2)
3.8.1-2· amd64 · bookwormFixed · Fixed:
3.7.2-1dsa · nettle · debian · bookworm
3.8.1-2· arm64 · bookwormFixed · Fixed:
3.7.2-1dsa · nettle · debian · bookworm
- [nettle-dev]Fixed
Source package: [nettle]
Details (2)
3.8.1-2· amd64 · bookwormFixed · Fixed:
3.7.2-1dsa · nettle · debian · bookworm
3.8.1-2· arm64 · bookwormFixed · Fixed:
3.7.2-1dsa · nettle · debian · bookworm
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_1145.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-20305]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-20305]
- [https://osv.dev/vulnerability/DLA-2760-1]
- [https://osv.dev/vulnerability/DSA-4933-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:1399-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:1412-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-20305]
- [https://osv.dev/vulnerability/USN-4906-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:0635-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-20305]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20305.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2025-0227.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]