GHSA-q7rw-w4cq-2j6w
bep/imagemeta allows excessively large EXIF data structures
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/bep/imagemeta | < 0.10.0 | 0.10.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
The EXIF data format allows for defining excessively large data structures in relatively small payloads. Before `v0.10.0`, If you didn't trust the input images, this could be abused to construct denial-of-service attacks.
### Patches
`v0.10.0` added LimitNumTags (default 5000) and LimitTagSize (default 10000) options.
References
External links from the advisory. They lead to third-party sites.