GitHub Advisory Database
GHSA-4v6p-cxf9-98rf
Allocation of Resources Without Limits or Throttling in metadata-extractor
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.drewnoakes:metadata-extractor | All versions before 2.18.0 (fixed in 2.18.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24614
- https://github.com/drewnoakes/metadata-extractor/issues/561
- https://github.com/drewnoakes/metadata-extractor/pull/570
- https://github.com/drewnoakes/metadata-extractor/commit/85ec243df54133a87f9d928d2278595f52b07519
- https://github.com/drewnoakes/metadata-extractor
- https://github.com/drewnoakes/metadata-extractor/releases/tag/2.18.0