Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807058 (CVE-2021-38115) - <media-libs/gd-2.3.3: OOB read (CVE-2021-38115)
Summary: <media-libs/gd-2.3.3: OOB read (CVE-2021-38115)
Status: IN_PROGRESS
Alias: CVE-2021-38115
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL: https://github.com/libgd/libgd/issues...
Whiteboard: B3 [noglsa cleanup]
Keywords:
Depends on: 858275
Blocks:
  Show dependency tree
 
Reported: 2021-08-07 22:47 UTC by John Helmert III
Modified: 2022-07-29 16:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-08-07 22:47:01 UTC
CVE-2021-38115:

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.

Unreleased patch: https://github.com/libgd/libgd/commit/edaf39fe6fb0d1867b9b5992efb9fe4102138553
Comment 1 Federico Justus Denkena 2022-07-15 17:04:58 UTC
Fixed in commit https://github.com/libgd/libgd/commit/edaf39fe6fb0d1867b9b5992efb9fe4102138553 (as linked before), commit went into release 2.3.3 (https://github.com/libgd/libgd/releases/tag/gd-2.3.3)).
There is still version 2.3.2 left in tree and marked as stable while 2.3.3 is unstable. I'd recommend cleanup and security stabilisation of 2.3.3 once someone from the codec project confirms this.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-29 16:54:06 UTC
OOB read is low impact, no GLSA. Please cleanup.