Use of a broken or risky cryptographic algorithm - CVE-2021-20305

 

Use of a broken or risky cryptographic algorithm - CVE-2021-20305

Published: April 6, 2021 / Updated: April 13, 2021


Vulnerability identifier: #VU52195
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-20305
CWE-ID: CWE-327
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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 software

Gentoo Linux
SUSE Manager Server
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE MicroOS
SUSE Enterprise Storage
Red Hat Enterprise Linux for Power, little endian
CentOS
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
Ubuntu
openEuler
Fedora
BIG-IP
Red Hat OpenShift Serverless
Windows Container Support for Red Hat OpenShift
Red Hat OpenShift GitOps
Service Telemetry Framework
Red Hat Advanced Cluster Management for Kubernetes
Security Event Manager (SEM)
Cloud Pak for Security (CP4S)
Red Hat OpenShift Jaeger
nettle (Red Hat package)
nettle (Debian package)
gnutls (Red Hat package)
nettle (Alpine package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
libnettle4-debuginfo-32bit
libnettle4-debuginfo
libnettle4
libnettle4-32bit
libhogweed2
libhogweed2-32bit
libhogweed2-debuginfo
libhogweed2-debuginfo-32bit
libnettle-debugsource
libnettle-devel
libnettle6 (Ubuntu package)
nettle
nettle-devel
libnettle6-32bit-debuginfo
libnettle6-32bit
libhogweed4-32bit-debuginfo
libhogweed4-32bit
libnettle6-debuginfo
libnettle6
libhogweed4
libhogweed4-debuginfo
libnettle7 (Ubuntu package)
nettle-debugsource
nettle-debuginfo
nettle-help
libnettle8 (Ubuntu package)
gnutls
gnutls-c++
gnutls-dane
gnutls-devel
gnutls-utils
Red Hat OpenShift Container Platform
IBM Security Verify Access
Juniper Junos Space
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
Dell EMC VxRail Appliance
SecurID Authentication Manager

How to mitigate CVE-2021-20305

Install update from vendor's website.

Red Hat OpenShift Serverless - addressed in versions 1.10.2, 1.14.0
Cloud Pak for Security (CP4S) - update to 1.8.0.0
Red Hat OpenShift Jaeger - addressed in versions 1.17.9, 1.20.4
Windows Container Support for Red Hat OpenShift - update to 2.0.1
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.0.10, 2.1.6, 2.2.3
nettle (Red Hat package) - addressed in versions 2.7.1-9.el7_3, 2.7.1-9.el7_4, 2.7.1-9.el7_6, 2.7.1-9.el7_7, 2.7.1-9.el7_9, 3.4.1-2.el8_1, 3.4.1-2.el8_2, 3.4.1-4.el8_3
nettle (Debian package) - update to 3.4.1-1+deb10u1
gnutls (Red Hat package) - addressed in versions 3.6.8-10.el8_1, 3.6.8-12.el8_2, 3.6.14-8.el8_3
Red Hat OpenShift Container Platform - addressed in versions 4.6.27, 4.7.8
Security Event Manager (SEM) - update to 2021.4
libnettle4-debuginfo-32bit - update to 2.7.1-13.3.1
libnettle4-debuginfo - update to 2.7.1-13.3.1
libnettle4 - update to 2.7.1-13.3.1
libnettle4-32bit - update to 2.7.1-13.3.1
libhogweed2 - update to 2.7.1-13.3.1
libhogweed2-32bit - update to 2.7.1-13.3.1
libhogweed2-debuginfo - update to 2.7.1-13.3.1
libhogweed2-debuginfo-32bit - update to 2.7.1-13.3.1
libnettle-debugsource - addressed in versions 2.7.1-13.3.1, 3.4.1-4.15.1
libnettle-devel - addressed in versions 2.7.1-13.3.1, 3.4.1-4.15.1
libnettle6 (Ubuntu package) - addressed in versions 3.2-1ubuntu0.16.04.2, 3.4-1ubuntu0.1
nettle - update to 3.4.1-2
nettle-devel - update to 3.4.1-2
libnettle6-32bit-debuginfo - update to 3.4.1-4.15.1
libnettle6-32bit - update to 3.4.1-4.15.1
libhogweed4-32bit-debuginfo - update to 3.4.1-4.15.1
libhogweed4-32bit - update to 3.4.1-4.15.1
libnettle6-debuginfo - update to 3.4.1-4.15.1
libnettle6 - update to 3.4.1-4.15.1
libhogweed4 - update to 3.4.1-4.15.1
libhogweed4-debuginfo - update to 3.4.1-4.15.1
libnettle7 (Ubuntu package) - update to 3.5.1+really3.5.1-2ubuntu0.1
nettle - update to 3.6-2
nettle-debugsource - update to 3.6-2
nettle-devel - update to 3.6-2
nettle-debuginfo - update to 3.6-2
nettle-help - update to 3.6-2
libnettle8 (Ubuntu package) - update to 3.6-2ubuntu0.1
gnutls - update to 3.6.8-12.0.1
gnutls-c++ - update to 3.6.8-12.0.1
gnutls-dane - update to 3.6.8-12.0.1
gnutls-devel - update to 3.6.8-12.0.1
gnutls-utils - update to 3.6.8-12.0.1
gnutls - update to 3.6.16-1.fc33
Dell EMC Unity VSA Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity XT Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC VxRail Appliance - update to 7.0.240
SecurID Authentication Manager - update to 8.5 Patch 5
Juniper Junos Space - update to 21.2R1

External References

Related Security Bulletins