ADVISORIES

GitHub Advisory Database

GHSA-q7rw-w4cq-2j6w

bep/imagemeta allows excessively large EXIF data structures

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/bep/imagemeta
All versions before 0.10.0 (fixed in 0.10.0)

References