CVE-2021-20305

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-20305
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20305.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20305
Related
Published
2021-04-05T22:15:12Z
Modified
2024-09-18T03:14:12.427118Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.13 / nettle

Package

Name
nettle
Purl
pkg:apk/alpine/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.4-r0
2.4-r1
2.5-r0
2.6-r0
2.7-r0
2.7.1-r0

3.*

3.1-r0
3.1.1-r0
3.1.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4.1-r0
3.4.1-r1
3.5.1-r0
3.5.1-r1
3.6-r0
3.7-r0

Alpine:v3.14 / nettle

Package

Name
nettle
Purl
pkg:apk/alpine/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.4-r0
2.4-r1
2.5-r0
2.6-r0
2.7-r0
2.7.1-r0

3.*

3.1-r0
3.1.1-r0
3.1.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4.1-r0
3.4.1-r1
3.5.1-r0
3.5.1-r1
3.6-r0
3.7-r0
3.7.1-r0

Alpine:v3.15 / nettle

Package

Name
nettle
Purl
pkg:apk/alpine/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.4-r0
2.4-r1
2.5-r0
2.6-r0
2.7-r0
2.7.1-r0

3.*

3.1-r0
3.1.1-r0
3.1.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4.1-r0
3.4.1-r1
3.5.1-r0
3.5.1-r1
3.6-r0
3.7-r0
3.7.1-r0

Alpine:v3.16 / nettle

Package

Name
nettle
Purl
pkg:apk/alpine/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.4-r0
2.4-r1
2.5-r0
2.6-r0
2.7-r0
2.7.1-r0

3.*

3.1-r0
3.1.1-r0
3.1.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4.1-r0
3.4.1-r1
3.5.1-r0
3.5.1-r1
3.6-r0
3.7-r0
3.7.1-r0

Alpine:v3.17 / nettle

Package

Name
nettle
Purl
pkg:apk/alpine/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.4-r0
2.4-r1
2.5-r0
2.6-r0
2.7-r0
2.7.1-r0

3.*

3.1-r0
3.1.1-r0
3.1.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4.1-r0
3.4.1-r1
3.5.1-r0
3.5.1-r1
3.6-r0
3.7-r0
3.7.1-r0

Alpine:v3.18 / nettle

Package

Name
nettle
Purl
pkg:apk/alpine/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.4-r0
2.4-r1
2.5-r0
2.6-r0
2.7-r0
2.7.1-r0

3.*

3.1-r0
3.1.1-r0
3.1.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4.1-r0
3.4.1-r1
3.5.1-r0
3.5.1-r1
3.6-r0
3.7-r0
3.7.1-r0

Alpine:v3.19 / nettle

Package

Name
nettle
Purl
pkg:apk/alpine/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.4-r0
2.4-r1
2.5-r0
2.6-r0
2.7-r0
2.7.1-r0

3.*

3.1-r0
3.1.1-r0
3.1.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4.1-r0
3.4.1-r1
3.5.1-r0
3.5.1-r1
3.6-r0
3.7-r0
3.7.1-r0

Alpine:v3.20 / nettle

Package

Name
nettle
Purl
pkg:apk/alpine/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.4-r0
2.4-r1
2.5-r0
2.6-r0
2.7-r0
2.7.1-r0

3.*

3.1-r0
3.1.1-r0
3.1.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4.1-r0
3.4.1-r1
3.5.1-r0
3.5.1-r1
3.6-r0
3.7-r0
3.7.1-r0

Debian:11 / nettle

Package

Name
nettle
Purl
pkg:deb/debian/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / nettle

Package

Name
nettle
Purl
pkg:deb/debian/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / nettle

Package

Name
nettle
Purl
pkg:deb/debian/nettle?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}