Skip to content
OpenAdvisories
Unscored CVE-2021-20305 EUVD-2021-7730GHSA-6xrq-2ww3-f6h5

A flaw was found in Nettle in versions before 3.7.2, where several Nettle signature verification functions (GOST DSA, EDDSA & ECDSA) result…

Published Apr 5, 2021 · Updated Oct 14, 2026 · Assigned by redhat

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 products

VendorProductAffectedFixed
— nettle nettle 3.7.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nettle 3.7.2-1 —
Debian 13 nettle 3.7.2-1 —
Debian 12 nettle 3.7.2-1 —
Debian 10 nettle 3.4.1-1+deb10u1 DSA-4933-1
Debian 9 nettle 3.3-1+deb9u1 DLA-2760-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS nettle 3.5.1+really3.5.1-2ubuntu0.1 USN-4906-1
Ubuntu 18.04 LTS nettle 3.4-1ubuntu0.1 USN-4906-1
Ubuntu 16.04 LTS nettle 3.2-1ubuntu0.16.04.2 USN-4906-1
Ubuntu 14.04 LTS nettle No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 gnutls +4 3.6.14-8.el8_3 RHSA-2021:1206
RHEL 8 nettle +1 3.4.1-4.el8_3 RHSA-2021:1206
RHEL 7 nettle +1 2.7.1-9.el7_9 RHSA-2021:1145
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS gnutls +4 3.6.8-12.el8_2 RHSA-2021:1246
RHEL 8.2 EUS nettle +1 3.4.1-2.el8_2 RHSA-2021:1246
RHEL 8.1 EUS gnutls +4 3.6.8-10.el8_1 RHSA-2021:1245
RHEL 8.1 EUS nettle +1 3.4.1-2.el8_1 RHSA-2021:1245
RHEL 7.7 EUS nettle +1 2.7.1-9.el7_7 RHSA-2021:2280
RHEL 7.6 TUS nettle +1 2.7.1-9.el7_6 RHSA-2021:2356
RHEL 7.6 E4S nettle +1 2.7.1-9.el7_6 RHSA-2021:2356
RHEL 7.6 AUS nettle +1 2.7.1-9.el7_6 RHSA-2021:2356
RHEL 7.4 TUS nettle +1 2.7.1-9.el7_4 RHSA-2021:2758
RHEL 7.4 E4S nettle +1 2.7.1-9.el7_4 RHSA-2021:2758
RHEL 7.4 AUS nettle +1 2.7.1-9.el7_4 RHSA-2021:2758
RHEL 7.3 AUS nettle +1 2.7.1-9.el7_3 RHSA-2021:2760

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 gnutls 3.6.14-8.el8_3 RLSA-2021:1206
Rocky Linux 8 nettle 3.4.1-4.el8_4 RLSA-2021:1206
ReleasePackageFixed inAdvisory
SLES 15 SP2 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SLES 15 SP1 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SLES 15 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SLES 12 SP5 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SLES 12 SP4 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SLES 12 SP2 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SLES for SAP 15 SP1 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SLES for SAP 15 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SLES for SAP 12 SP5 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SLES for SAP 12 SP4 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SLES for SAP 12 SP3 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SLE Micro 5.0 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SLE HPC 15 SP1 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SLE HPC 15 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SUSE OpenStack Cloud Crowbar 9 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SUSE OpenStack Cloud Crowbar 8 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SUSE OpenStack Cloud 9 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SUSE OpenStack Cloud 8 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SUSE Manager Server 4.0 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SUSE Manager Retail Branch Server 4.0 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SUSE Manager Proxy 4.0 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
SUSE HPE Helion OpenStack 8 libnettle 2.7.1-13.3.1 SUSE-SU-2021:1399-1
SUSE Enterprise Storage 6 libnettle 3.4.1-4.15.1 SUSE-SU-2021:1412-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 libnettle 3.4.1-lp152.4.3.1 openSUSE-SU-2021:0635-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nettle 3.7.2-r0 —
Alpine v3.23 nettle 3.7.2-r0 —
Alpine v3.22 nettle 3.7.2-r0 —
Alpine v3.21 nettle 3.7.2-r0 —
Alpine v3.20 nettle 3.7.2-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nettle 3.7.2-r0 —
Alpine v3.18 nettle 3.7.2-r0 —
Alpine v3.17 nettle 3.7.2-r0 —
Alpine v3.16 nettle 3.7.2-r0 —
Alpine v3.15 nettle 3.7.2-r0 —
Alpine v3.14 nettle 3.7.2-r0 —
Alpine v3.13 nettle 3.7.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 nettle +1 2.7.1-9.amzn2 ALAS2-2021-1629

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 gnutls +4 3.6.14-8.el8_3 ELSA-2021-1206
Oracle Linux 8 nettle +1 3.4.1-4.el8_3 ELSA-2021-1206
Oracle Linux 7 nettle +1 2.7.1-9.el7_9 ELSA-2021-1145

Advisories 23

References