PT-2021-3125 · Nettle+9 · Nettle+9

Cedric Buissart

·

Published

2021-03-16

·

Updated

2026-03-10

·

CVE-2021-20305

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Nettle versions prior to 3.7.2
Description A flaw was found in the Nettle signature verification functions, including GOST DSA, EDDSA, and ECDSA, where the Elliptic Curve Cryptography point multiply function is called with out-of-range scalers, possibly resulting in incorrect results. This allows an attacker to force an invalid signature, causing an assertion failure or possible validation issues. The highest threat to this vulnerability is to confidentiality, integrity, and system availability. An attacker may exploit this vulnerability by inputting an invalid signature, potentially allowing them to execute arbitrary code.
Recommendations For versions prior to 3.7.2, update to version 3.7.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the vulnerable signature verification functions until a patch is available. Avoid using the GOST DSA, EDDSA, and ECDSA functions in sensitive operations until the issue is resolved.

Fix

Use of a Broken Cryptographic Algorithm

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-1532
ALT-PU-2021-1891
ALT-PU-2021-1960
ALT-PU-2023-1356
BDU:2021-02748
CESA-2021_1145
CESA-2021_1206
CVE-2021-20305
DLA-2760-1
DSA-4933-1
MGASA-2021-0300
OESA-2021-1177
OPENSUSE-SU-2021:0635-1
OPENSUSE-SU-2021_0635-1
OPENSUSE-SU-2024:10962-1
RHSA-2021:1145
RHSA-2021:1206
RHSA-2021:1245
RHSA-2021:1246
RHSA-2021:2280
RHSA-2021:2356
RHSA-2021:2758
RHSA-2021:2760
RHSA-2021_1145
RHSA-2021_1206
RLSA-2021:1206
SUSE-SU-2021:1399-1
SUSE-SU-2021:1412-1
SUSE-SU-2021_1399-1
SUSE-SU-2021_1412-1
USN-4906-1

Affected Products

Alt Linux
Astra Linux
Centos
Linuxmint
Nettle
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu