UBUNTU-CVE-2021-20305

Source
https://ubuntu.com/security/CVE-2021-20305
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20305.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-20305
Related
Published
2021-04-05T22:15:00Z
Modified
2024-10-15T14:07:59Z
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

Ubuntu:Pro:14.04:LTS / nettle

Package

Name
nettle
Purl
pkg:deb/ubuntu/nettle?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7.1-1
2.7.1-1ubuntu0.1
2.7.1-1ubuntu0.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:16.04:LTS / nettle

Package

Name
nettle
Purl
pkg:deb/ubuntu/nettle?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2-1ubuntu0.16.04.2

Affected versions

3.*

3.1.1-4
3.2-1
3.2-1ubuntu0.16.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "libhogweed4"
        },
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "libhogweed4-dbgsym"
        },
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "libnettle6"
        },
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "libnettle6-dbgsym"
        },
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "nettle-bin"
        },
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "nettle-bin-dbgsym"
        },
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "nettle-dbg"
        },
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "nettle-dev"
        },
        {
            "binary_version": "3.2-1ubuntu0.16.04.2",
            "binary_name": "nettle-dev-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / nettle

Package

Name
nettle
Purl
pkg:deb/ubuntu/nettle?arch=src?distro=bionic

Affected ranges

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

Affected versions

3.*

3.3-2
3.4-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.4-1ubuntu0.1",
            "binary_name": "libhogweed4"
        },
        {
            "binary_version": "3.4-1ubuntu0.1",
            "binary_name": "libhogweed4-dbgsym"
        },
        {
            "binary_version": "3.4-1ubuntu0.1",
            "binary_name": "libnettle6"
        },
        {
            "binary_version": "3.4-1ubuntu0.1",
            "binary_name": "libnettle6-dbgsym"
        },
        {
            "binary_version": "3.4-1ubuntu0.1",
            "binary_name": "nettle-bin"
        },
        {
            "binary_version": "3.4-1ubuntu0.1",
            "binary_name": "nettle-bin-dbgsym"
        },
        {
            "binary_version": "3.4-1ubuntu0.1",
            "binary_name": "nettle-dev"
        }
    ]
}

Ubuntu:20.04:LTS / nettle

Package

Name
nettle
Purl
pkg:deb/ubuntu/nettle?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.1+really3.5.1-2ubuntu0.1

Affected versions

3.*

3.4.1-1
3.5.1+really3.5.1-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.5.1+really3.5.1-2ubuntu0.1",
            "binary_name": "libhogweed5"
        },
        {
            "binary_version": "3.5.1+really3.5.1-2ubuntu0.1",
            "binary_name": "libhogweed5-dbgsym"
        },
        {
            "binary_version": "3.5.1+really3.5.1-2ubuntu0.1",
            "binary_name": "libnettle7"
        },
        {
            "binary_version": "3.5.1+really3.5.1-2ubuntu0.1",
            "binary_name": "libnettle7-dbgsym"
        },
        {
            "binary_version": "3.5.1+really3.5.1-2ubuntu0.1",
            "binary_name": "nettle-bin"
        },
        {
            "binary_version": "3.5.1+really3.5.1-2ubuntu0.1",
            "binary_name": "nettle-bin-dbgsym"
        },
        {
            "binary_version": "3.5.1+really3.5.1-2ubuntu0.1",
            "binary_name": "nettle-dev"
        }
    ]
}