GHSA-x92r-3vfx-4cv3

Golang TIFF decoder does not place a limit on the size of compressed tile data

At a glance

Published
Updated
CVE
CVE-2023-29408
Aliases
GO-2023-1989
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Description

The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height, and encoded size) to make the decoder decode large amounts of compressed data, consuming excessive memory and CPU.

Affected packages

PackageVersions
Go · golang.org/x/imageintroduced 0, fixed 0.10.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database