Description
When reading a specially crafted JPEG file, metadata-extractor up to 2.16.0 can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. This could be used to mount a denial of service attack against services that use metadata-extractor library.
Remediation
References
https://github.com/drewnoakes/metadata-extractor/issues/561
Related Vulnerabilities
CVE-2022-35949 Vulnerability in maven package org.webjars.npm:undici
CVE-2021-26541 Vulnerability in npm package gitlog
CVE-2022-46175 Vulnerability in npm package json5
CVE-2021-31805 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2022-33891 Vulnerability in maven package org.apache.spark:spark-core_2.12