GitHub Advisoryadvisory · Go

GHSA-x92r-3vfx-4cv3 Golang TIFF decoder does not place a limit on the size of compressed tile data

MEDIUM Published 2023-08-02 Modified 2024-05-20 Official page ↗
Aliases
CVE-2023-29408
Ecosystem
Go
Packages
golang.org/x/image
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2023-11-02

Affected packages

• Go golang.org/x/image: < 0.10.0 → fixed in 0.10.0

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.

Related

Alias · CVE (1)

  • CVE-2023-29408 The TIFF decoder does not place a limit on the size of compressed tile data. vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References