Advisory

GHSA-x92r-3vfx-4cv3

Also known as: CVE-2023-29408, GO-2023-1989

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-08-02 21:30 UTC
Modified
2024-05-20 21:54 UTC

Affected packages and fixes

golang.org/x/image

Go · All systems

Affected

  • introduced 0, fixed 0.10.0 (semver)

Fixed versions

0.10.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences