CVE-2021-40812
Published: 8 September 2021
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.
Notes
Author | Note |
---|---|
mdeslaur | php uses the system libgd2 |
leosilva | the fix proposed is a partial one that address BMP and WebP but not GIF. no complete fix available from upstream as of 2021-11-08 |
rodrigo-zaiden | still no complete fix from upstream as of 2022-11-25. |
Priority
Status
Package | Release | Status |
---|---|---|
libgd2 Launchpad, Ubuntu, Debian |
bionic |
Deferred
(2022-11-25)
|
focal |
Deferred
(2022-11-25)
|
|
xenial |
Deferred
(2022-11-25)
|
|
impish |
Ignored
(end of life)
|
|
trusty |
Deferred
(2022-11-25)
|
|
upstream |
Needs triage
|
|
hirsute |
Ignored
(end of life)
|
|
jammy |
Deferred
(2022-11-25)
|
|
kinetic |
Ignored
(end of life, was deferred [2022-11-25])
|
|
lunar |
Deferred
(2022-11-25)
|
|
mantic |
Deferred
(2022-11-25)
|
|
Patches: upstream: https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9 (partial fix) |
||
php5 Launchpad, Ubuntu, Debian |
impish |
Does not exist
|
trusty |
Not vulnerable
(uses system gd)
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
upstream |
Needs triage
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
lunar |
Does not exist
|
|
mantic |
Does not exist
|
|
php7.0 Launchpad, Ubuntu, Debian |
impish |
Does not exist
|
trusty |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
(uses system gd)
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
lunar |
Does not exist
|
|
mantic |
Does not exist
|
|
php7.2 Launchpad, Ubuntu, Debian |
impish |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
bionic |
Not vulnerable
(uses system gd)
|
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
upstream |
Needs triage
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
lunar |
Does not exist
|
|
mantic |
Does not exist
|
|
php7.3 Launchpad, Ubuntu, Debian |
impish |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
upstream |
Needs triage
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
lunar |
Does not exist
|
|
mantic |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |