UBUNTU-CVE-2021-3345

Source
https://ubuntu.com/security/CVE-2021-3345
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3345.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3345
Related
Published
2021-01-29T15:15:00Z
Modified
2021-01-29T15:15:00Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

gcrymdblockwrite in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.

References

Affected packages

Ubuntu:Pro:14.04:LTS / libgcrypt11

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.3-2ubuntu4.6+esm1

Affected versions

1.*

1.5.0-3ubuntu3
1.5.3-2ubuntu1
1.5.3-2ubuntu4
1.5.3-2ubuntu4.1
1.5.3-2ubuntu4.2
1.5.3-2ubuntu4.3
1.5.3-2ubuntu4.4
1.5.3-2ubuntu4.5
1.5.3-2ubuntu4.6

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1.5.3-2ubuntu4.6+esm1",
            "binary_name": "libgcrypt11"
        },
        {
            "binary_version": "1.5.3-2ubuntu4.6+esm1",
            "binary_name": "libgcrypt11-dbg"
        },
        {
            "binary_version": "1.5.3-2ubuntu4.6+esm1",
            "binary_name": "libgcrypt11-dbgsym"
        },
        {
            "binary_version": "1.5.3-2ubuntu4.6+esm1",
            "binary_name": "libgcrypt11-dev"
        },
        {
            "binary_version": "1.5.3-2ubuntu4.6+esm1",
            "binary_name": "libgcrypt11-dev-dbgsym"
        },
        {
            "binary_version": "1.5.3-2ubuntu4.6+esm1",
            "binary_name": "libgcrypt11-doc"
        },
        {
            "binary_version": "1.5.3-2ubuntu4.6+esm1",
            "binary_name": "libgcrypt11-udeb"
        },
        {
            "binary_version": "1.5.3-2ubuntu4.6+esm1",
            "binary_name": "libgcrypt11-udeb-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / libgcrypt20

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.5-2ubuntu0.6

Affected versions

1.*

1.6.3-2ubuntu1
1.6.4-3
1.6.4-4
1.6.4-5
1.6.5-2
1.6.5-2ubuntu0.2
1.6.5-2ubuntu0.3
1.6.5-2ubuntu0.4
1.6.5-2ubuntu0.5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1.5.4-3+really1.6.5-2ubuntu0.6",
            "binary_name": "libgcrypt11-dev"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6",
            "binary_name": "libgcrypt20-udeb"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6",
            "binary_name": "libgcrypt20-udeb-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / libgcrypt20

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.1-4ubuntu1.2

Affected versions

1.*

1.7.8-2ubuntu1
1.7.9-1
1.8.1-4
1.8.1-4ubuntu1
1.8.1-4ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1.8.1-4ubuntu1.2",
            "binary_name": "libgcrypt-mingw-w64-dev"
        },
        {
            "binary_version": "1.5.4-3+really1.8.1-4ubuntu1.2",
            "binary_name": "libgcrypt11-dev"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.2",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.2",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.2",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.2",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.2",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.2",
            "binary_name": "libgcrypt20-udeb"
        }
    ]
}

Ubuntu:20.04:LTS / libgcrypt20

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.5-5ubuntu1

Affected versions

1.*

1.8.4-5ubuntu2
1.8.5-3ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1.8.5-5ubuntu1",
            "binary_name": "libgcrypt-mingw-w64-dev"
        },
        {
            "binary_version": "1.8.5-5ubuntu1",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.8.5-5ubuntu1",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.8.5-5ubuntu1",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.8.5-5ubuntu1",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.8.5-5ubuntu1",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.8.5-5ubuntu1",
            "binary_name": "libgcrypt20-udeb"
        }
    ]
}