UBUNTU-CVE-2021-40812

Source
https://ubuntu.com/security/CVE-2021-40812
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40812.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-40812
Related
Published
2021-09-08T21:15:00Z
Modified
2024-11-18T15:51:55Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks.

References

Affected packages

Ubuntu:Pro:14.04:LTS / libgd2

Package

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

Affected ranges

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

Affected versions

2.*

2.1.0-2
2.1.0-3
2.1.0-3ubuntu0.1
2.1.0-3ubuntu0.2
2.1.0-3ubuntu0.3
2.1.0-3ubuntu0.5
2.1.0-3ubuntu0.6
2.1.0-3ubuntu0.7
2.1.0-3ubuntu0.8
2.1.0-3ubuntu0.10
2.1.0-3ubuntu0.11
2.1.0-3ubuntu0.11+esm1
2.1.0-3ubuntu0.11+esm2

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:16.04:LTS / libgd2

Package

Name
libgd2
Purl
pkg:deb/ubuntu/libgd2?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.1-4ubuntu0.16.04.12+esm4

Affected versions

2.*

2.1.1-4build1
2.1.1-4build2
2.1.1-4ubuntu0.16.04.1
2.1.1-4ubuntu0.16.04.2
2.1.1-4ubuntu0.16.04.3
2.1.1-4ubuntu0.16.04.5
2.1.1-4ubuntu0.16.04.6
2.1.1-4ubuntu0.16.04.7
2.1.1-4ubuntu0.16.04.8
2.1.1-4ubuntu0.16.04.10
2.1.1-4ubuntu0.16.04.11
2.1.1-4ubuntu0.16.04.12
2.1.1-4ubuntu0.16.04.12+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.12+esm4",
            "binary_name": "libgd-dbg"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.12+esm4",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.12+esm4",
            "binary_name": "libgd-dev-dbgsym"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.12+esm4",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.12+esm4",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.12+esm4",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.12+esm4",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / libgd2

Package

Name
libgd2
Purl
pkg:deb/ubuntu/libgd2?arch=src?distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-4ubuntu0.5+esm3

Affected versions

2.*

2.2.5-3
2.2.5-4
2.2.5-4ubuntu0.2
2.2.5-4ubuntu0.3
2.2.5-4ubuntu0.4
2.2.5-4ubuntu0.5

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.2.5-4ubuntu0.5+esm3",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.2.5-4ubuntu0.5+esm3",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.2.5-4ubuntu0.5+esm3",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.2.5-4ubuntu0.5+esm3",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.2.5-4ubuntu0.5+esm3",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / libgd2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-5.2ubuntu2.4

Affected versions

2.*

2.2.5-5.2
2.2.5-5.2ubuntu2
2.2.5-5.2ubuntu2.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.2.5-5.2ubuntu2.4",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.2.5-5.2ubuntu2.4",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.2.5-5.2ubuntu2.4",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.2.5-5.2ubuntu2.4",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.2.5-5.2ubuntu2.4",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / libgd2

Package

Name
libgd2
Purl
pkg:deb/ubuntu/libgd2?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.0-2ubuntu2.3

Affected versions

2.*

2.3.0-2ubuntu1
2.3.0-2ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.3.0-2ubuntu2.3",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.3.0-2ubuntu2.3",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.3.0-2ubuntu2.3",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.3.0-2ubuntu2.3",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.3.0-2ubuntu2.3",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}

Ubuntu:24.10 / libgd2

Package

Name
libgd2
Purl
pkg:deb/ubuntu/libgd2?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.3-12ubuntu3

Affected versions

2.*

2.3.3-9ubuntu5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.3.3-12ubuntu3",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.3.3-12ubuntu3",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.3.3-12ubuntu3",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.3.3-12ubuntu3",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.3.3-12ubuntu3",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / libgd2

Package

Name
libgd2
Purl
pkg:deb/ubuntu/libgd2?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.3-9ubuntu5

Affected versions

2.*

2.3.3-9ubuntu1
2.3.3-9ubuntu3
2.3.3-9ubuntu4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.3.3-9ubuntu5",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.3.3-9ubuntu5",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.3.3-9ubuntu5",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.3.3-9ubuntu5",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.3.3-9ubuntu5",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}