CVE-2021-20305
publishednettle: Out of bounds memory access in signature verification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | nettlenettle 3.7.2 | Affected | Not stated | redhat |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1629 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Debian | buster | nettle | Advisory build | 3.4.1-1+deb10u1 | DSA-4933-1 |
| Oracle Linux | 7 | nettleaarch64 | Advisory build | 0:2.7.1-9.el7_9 | ELSA-2021-1145 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Red Hat Enterprise Linux | RHEL-7 | nettlei686 | Advisory build | 2.7.1-9.el7_3 | RHSA-2021:2760 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | nettlei586 | Advisory build | 3.4.1-lp152.4.3.1 | OPENSUSE-SU-2021:0635-1 |
| Ubuntu | bionic | nettle | Advisory build | 3.4-1ubuntu0.1 | USN-4906-1 |
| Alpine Linux | v3.13 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.14 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.15 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.16 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.17 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.18 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.19 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.20 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.21 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.22 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.23 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Alpine Linux | v3.24 | nettle | Fixed | 3.7.2-r0 | Package fix record |
| Debian | stretch | nettle | Advisory build | 3.3-1+deb9u1 | DLA-2760-1 |
| Oracle Linux | 7 | nettlex86_64 | Advisory build | 0:2.7.1-9.el7_9 | ELSA-2021-1145 |
| Oracle Linux | 8 | nettleaarch64 | Advisory build | 0:3.4.1-4.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | nettlex86_64 | Advisory build | 0:3.4.1-4.el8_3 | ELSA-2021-1206 |
| Red Hat Enterprise Linux | RHEL-7 | nettlei686 | Advisory build | 2.7.1-9.el7_4 | RHSA-2021:2758 |
| Red Hat Enterprise Linux | RHEL-7 | nettlei686 | Advisory build | 2.7.1-9.el7_6 | RHSA-2021:2356 |
| Red Hat Enterprise Linux | RHEL-7 | nettlei686 | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettlei686 | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettleppc | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettleppc | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettleppc64 | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettleppc64 | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettleppc64le | Advisory build | 2.7.1-9.el7_4 | RHSA-2021:2758 |
| Red Hat Enterprise Linux | RHEL-7 | nettleppc64le | Advisory build | 2.7.1-9.el7_6 | RHSA-2021:2356 |
| Red Hat Enterprise Linux | RHEL-7 | nettleppc64le | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettleppc64le | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettles390 | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettles390 | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettles390x | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettles390x | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettlesrc | Advisory build | 2.7.1-9.el7_3 | RHSA-2021:2760 |
| Red Hat Enterprise Linux | RHEL-7 | nettlesrc | Advisory build | 2.7.1-9.el7_4 | RHSA-2021:2758 |
| Red Hat Enterprise Linux | RHEL-7 | nettlesrc | Advisory build | 2.7.1-9.el7_6 | RHSA-2021:2356 |
| Red Hat Enterprise Linux | RHEL-7 | nettlesrc | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettlesrc | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettlex86_64 | Advisory build | 2.7.1-9.el7_3 | RHSA-2021:2760 |
| Red Hat Enterprise Linux | RHEL-7 | nettlex86_64 | Advisory build | 2.7.1-9.el7_4 | RHSA-2021:2758 |
| Red Hat Enterprise Linux | RHEL-7 | nettlex86_64 | Advisory build | 2.7.1-9.el7_6 | RHSA-2021:2356 |
| Red Hat Enterprise Linux | RHEL-7 | nettlex86_64 | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettlex86_64 | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-8 | nettleaarch64 | Advisory build | 3.4.1-2.el8_1 | RHSA-2021:1245 |
| Red Hat Enterprise Linux | RHEL-8 | nettleaarch64 | Advisory build | 3.4.1-2.el8_2 | RHSA-2021:1246 |
| Red Hat Enterprise Linux | RHEL-8 | nettleaarch64 | Advisory build | 3.4.1-4.el8_3 | RHSA-2021:1206 |
| Red Hat Enterprise Linux | RHEL-8 | nettlei686 | Advisory build | 3.4.1-2.el8_1 | RHSA-2021:1245 |
| Red Hat Enterprise Linux | RHEL-8 | nettlei686 | Advisory build | 3.4.1-2.el8_2 | RHSA-2021:1246 |
| Red Hat Enterprise Linux | RHEL-8 | nettlei686 | Advisory build | 3.4.1-4.el8_3 | RHSA-2021:1206 |
| Red Hat Enterprise Linux | RHEL-8 | nettleppc64le | Advisory build | 3.4.1-2.el8_1 | RHSA-2021:1245 |
| Red Hat Enterprise Linux | RHEL-8 | nettleppc64le | Advisory build | 3.4.1-2.el8_2 | RHSA-2021:1246 |
| Red Hat Enterprise Linux | RHEL-8 | nettleppc64le | Advisory build | 3.4.1-4.el8_3 | RHSA-2021:1206 |
| Red Hat Enterprise Linux | RHEL-8 | nettles390x | Advisory build | 3.4.1-2.el8_1 | RHSA-2021:1245 |
| Red Hat Enterprise Linux | RHEL-8 | nettles390x | Advisory build | 3.4.1-2.el8_2 | RHSA-2021:1246 |
| Red Hat Enterprise Linux | RHEL-8 | nettles390x | Advisory build | 3.4.1-4.el8_3 | RHSA-2021:1206 |
| Red Hat Enterprise Linux | RHEL-8 | nettlesrc | Advisory build | 3.4.1-2.el8_1 | RHSA-2021:1245 |
| Red Hat Enterprise Linux | RHEL-8 | nettlesrc | Advisory build | 3.4.1-2.el8_2 | RHSA-2021:1246 |
| Red Hat Enterprise Linux | RHEL-8 | nettlesrc | Advisory build | 3.4.1-4.el8_3 | RHSA-2021:1206 |
| Red Hat Enterprise Linux | RHEL-8 | nettlex86_64 | Advisory build | 3.4.1-2.el8_1 | RHSA-2021:1245 |
| Red Hat Enterprise Linux | RHEL-8 | nettlex86_64 | Advisory build | 3.4.1-2.el8_2 | RHSA-2021:1246 |
| Red Hat Enterprise Linux | RHEL-8 | nettlex86_64 | Advisory build | 3.4.1-4.el8_3 | RHSA-2021:1206 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | nettlex86_64 | Advisory build | 3.4.1-lp152.4.3.1 | OPENSUSE-SU-2021:0635-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nettleaarch64 | Advisory build | 3.7.3-1.2 | OPENSUSE-SU-2024:10962-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nettleppc64le | Advisory build | 3.7.3-1.2 | OPENSUSE-SU-2024:10962-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nettles390x | Advisory build | 3.7.3-1.2 | OPENSUSE-SU-2024:10962-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nettlex86_64 | Advisory build | 3.7.3-1.2 | OPENSUSE-SU-2024:10962-1 |
| Ubuntu | focal | nettle | Advisory build | 3.5.1+really3.5.1-2ubuntu0.1 | USN-4906-1 |
| Ubuntu | xenial | nettle | Advisory build | 3.2-1ubuntu0.16.04.2 | USN-4906-1 |
| Oracle Linux | 7 | nettle-develaarch64 | Advisory build | 0:2.7.1-9.el7_9 | ELSA-2021-1145 |
| Oracle Linux | 7 | nettle-develx86_64 | Advisory build | 0:2.7.1-9.el7_9 | ELSA-2021-1145 |
| Oracle Linux | 8 | gnutlsaarch64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutlsx86_64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutls-c++aarch64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutls-c++x86_64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutls-daneaarch64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutls-danex86_64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutls-develaarch64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutls-develx86_64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutls-utilsaarch64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | gnutls-utilsx86_64 | Advisory build | 0:3.6.14-8.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | nettle-develaarch64 | Advisory build | 0:3.4.1-4.el8_3 | ELSA-2021-1206 |
| Oracle Linux | 8 | nettle-develx86_64 | Advisory build | 0:3.4.1-4.el8_3 | ELSA-2021-1206 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoi686 | Advisory build | 2.7.1-9.el7_3 | RHSA-2021:2760 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoi686 | Advisory build | 2.7.1-9.el7_4 | RHSA-2021:2758 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoi686 | Advisory build | 2.7.1-9.el7_6 | RHSA-2021:2356 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoi686 | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoi686 | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoppc | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoppc | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoppc64 | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoppc64 | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoppc64le | Advisory build | 2.7.1-9.el7_4 | RHSA-2021:2758 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoppc64le | Advisory build | 2.7.1-9.el7_6 | RHSA-2021:2356 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoppc64le | Advisory build | 2.7.1-9.el7_7 | RHSA-2021:2280 |
| Red Hat Enterprise Linux | RHEL-7 | nettle-debuginfoppc64le | Advisory build | 2.7.1-9.el7_9 | RHSA-2021:1145 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | nettle | nettle 3.7.2 (affected) | redhat · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-327
References
7- https://bugzilla.redhat.com/show_bug.cgi?id=1942533
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- [debian-lts-announce] 20210918 [SECURITY] [DLA 2760-1] nettle security update https://lists.debian.org/debian-lts-announce/2021/09/msg00008.html
- FEDORA-2021-454a0f6f76 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQKWVVMAIDAJ7YAA3VVO32BHLDOH2E63/
- GLSA-202105-31 https://security.gentoo.org/glsa/202105-31
- https://security.netapp.com/advisory/ntap-20211022-0002/
- DSA-4933 https://www.debian.org/security/2021/dsa-4933
Provider assertions
3redhat · cna
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8da157c0bc6b23e26d763a6d04edef46be3a7ce1515bacac176498f44a0451bc
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record