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-2021-23449 Vulnerability in npm package vm2
CVE-2020-17480 Vulnerability in npm package tinymce
CVE-2022-41966 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2022-32210 Vulnerability in npm package undici
CVE-2022-28355 Vulnerability in maven package org.scala-js:scalajs-library_2.11