CVE-2021-38115
Published: 4 August 2021
read_header_tga in gd_tga.c in the GD Graphics Library (aka LibGD) through 2.3.2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file.
Notes
Author | Note |
---|---|
mdeslaur | php uses the system libgd2 |
Priority
Status
Package | Release | Status |
---|---|---|
libgd2 Launchpad, Ubuntu, Debian |
bionic |
Released
(2.2.5-4ubuntu0.5)
|
focal |
Released
(2.2.5-5.2ubuntu2.1)
|
|
hirsute |
Released
(2.3.0-2ubuntu0.1)
|
|
trusty |
Released
(2.1.0-3ubuntu0.11+esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Needs triage
|
|
xenial |
Released
(2.1.1-4ubuntu0.16.04.12+esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
impish |
Released
(2.3.0-2ubuntu1)
|
|
jammy |
Released
(2.3.0-2ubuntu1)
|
|
php5 Launchpad, Ubuntu, Debian |
hirsute |
Does not exist
|
trusty |
Not vulnerable
(uses system gd)
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
php7.0 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
(uses system gd)
|
|
jammy |
Does not exist
|
|
php7.2 Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(uses system gd)
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
jammy |
Does not exist
|
|
php7.3 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
jammy |
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 |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38115
- https://github.com/libgd/libgd/issues/697
- https://github.com/libgd/libgd/commit/8b111b2b4a4842179be66db68d84dda91a246032
- https://github.com/libgd/libgd/pull/711/commits/8b111b2b4a4842179be66db68d84dda91a246032
- https://ubuntu.com/security/notices/USN-5068-1
- NVD
- Launchpad
- Debian