Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 780483 (CVE-2021-20305)

Summary: <dev-libs/nettle-3.7.2: out-of-bounds memory access in signature verification (CVE-2021-20305)
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: base-system, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.lysator.liu.se/pipermail/nettle-bugs/2021/009457.html
Whiteboard: B3 [glsa+ cve]
Package list:
Runtime testing required: ---

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-04-06 01:32:10 UTC
CVE-2021-20305:

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.


Please cleanup.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-05-25 19:57:52 UTC
New GLSA request filed.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2021-05-25 19:59:12 UTC
*** Bug 777615 has been marked as a duplicate of this bug. ***
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2021-05-26 10:29:23 UTC
This issue was resolved and addressed in
 GLSA 202105-31 at https://security.gentoo.org/glsa/202105-31
by GLSA coordinator Thomas Deutschmann (whissi).