OESA-2021-1353

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1353
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1353.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1353
Upstream
Published
2021-09-30T11:03:12Z
Modified
2025-08-12T05:10:02.156014Z
Summary
gd security update
Details

The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. The most common applications of GD involve website development, although it can be used with any standalone application!

Security Fix(es):

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.(CVE-2021-40812)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / gd

Package

Name
gd
Purl
pkg:rpm/openEuler/gd&distro=openEuler-20.03-LTS-SP1

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "gd-debuginfo-2.3.0-3.oe1.aarch64.rpm",
        "gd-devel-2.3.0-3.oe1.aarch64.rpm",
        "gd-2.3.0-3.oe1.aarch64.rpm",
        "gd-debugsource-2.3.0-3.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "gd-debuginfo-2.3.0-3.oe1.x86_64.rpm",
        "gd-2.3.0-3.oe1.x86_64.rpm",
        "gd-debugsource-2.3.0-3.oe1.x86_64.rpm",
        "gd-devel-2.3.0-3.oe1.x86_64.rpm"
    ],
    "src": [
        "gd-2.3.0-3.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / gd

Package

Name
gd
Purl
pkg:rpm/openEuler/gd&distro=openEuler-20.03-LTS-SP2

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "gd-debuginfo-2.3.0-3.oe1.aarch64.rpm",
        "gd-2.3.0-3.oe1.aarch64.rpm",
        "gd-devel-2.3.0-3.oe1.aarch64.rpm",
        "gd-debugsource-2.3.0-3.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "gd-debugsource-2.3.0-3.oe1.x86_64.rpm",
        "gd-2.3.0-3.oe1.x86_64.rpm",
        "gd-debuginfo-2.3.0-3.oe1.x86_64.rpm",
        "gd-devel-2.3.0-3.oe1.x86_64.rpm"
    ],
    "src": [
        "gd-2.3.0-3.oe1.src.rpm"
    ]
}