CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HMedium (6.5) in libgd libgd. EPSS 1.7% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExplain CVE-2021-40812 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40812?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40812?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40812 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libgd:libgd | through 2.3.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | libgd2 | 2.2.5-5.2+deb10u1 | DLA-3781-1 |
| Debian | 11 | libgd2 | 2.3.0-2+deb11u1 | DLA-4411-1 |
| Debian | 12, 13, 14 | libgd2 | 2.3.3-1 | DEBIAN-CVE-2021-40812 |
| Ubuntu | 20.04:LTS | libgd2 | 2.2.5-5.2ubuntu2.4 | UBUNTU-CVE-2021-40812 USN-7112-1 |
| Ubuntu | 22.04:LTS | libgd2 | 2.3.0-2ubuntu2.3 | UBUNTU-CVE-2021-40812 USN-7112-1 |
| Ubuntu | Pro:14.04:LTS | libgd2 | no fix listed | UBUNTU-CVE-2021-40812 |
| Ubuntu | Pro:16.04:LTS | libgd2 | 2.1.1-4ubuntu0.16.04.12+esm4 | UBUNTU-CVE-2021-40812 USN-7112-1 |
| Ubuntu | Pro:18.04:LTS | libgd2 | 2.2.5-4ubuntu0.5+esm3 | UBUNTU-CVE-2021-40812 USN-7112-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Desktop Applications 15 SP2 and 3 more | gd | 2.2.5-11.3.1 | SUSE-SU-2021:3236-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 and 1 more | gd | 2.1.0-24.20.1 | SUSE-SU-2021:3214-1 |
| openSUSE | Leap 15.3 | gd | 2.2.5-11.3.1 | openSUSE-SU-2021:3236-1 |
| Azure Linux | 2 | gd | 2.3.3-1 | AZL-6433 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.