HomeDefault status
unaffected
Any version before 0.41.0
affected
Description
The TIFF decoder does not place a limit on the size of PackBits-compressed 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.
Problem types
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
Any version before 0.41.0
Credits
Uuganbayar Lkhamsuren
References
groups.google.com/g/golang-announce/c/uhYX90BlBvI