Description
Versions of the package exifreader before 4.39.0 are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) due to decompressing PNG zTXt metadata without enforcing a built-in maximum decompressed output size. When asynchronous parsing is enabled, a crafted PNG file containing a highly compressed zTXt chunk can cause ExifReader to materialize a disproportionately large Comment value in memory.
Problem types
Improper Handling of Highly Compressed Data (Data Amplification)
Credits
Yuki Matsuhashi
References
security.snyk.io/vuln/SNYK-JS-EXIFREADER-16689340
security.snyk.io/vuln/SNYK-JS-EXIFREADER-16689340
gist.github.com/...tsuhashi/cad1a45d936062438b4ab24613c34c55
github.com/...ommit/5f116128adc19f674902f8bf582bfe7dd0a36375