Vulnerability · Published Jul 10, 2024 · Assigned by snyk
CVE-2024-21523
High 7.5
In plain English
A high-severity uncontrolled resource consumption in images. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities).
Official description
All versions of the package images are vulnerable to Denial of Service (DoS) due to providing unexpected input types to several different functions. This makes it possible to reach an assert macro, leading to a process crash. **Note:** By providing some specific integer values (like 0) to the size function, it is possible to obtain a Segmentation fault error, leading to the process crash.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | images | no fix listed | GHSA-vjpv-x8p9-7p85 |
Affected products (as reported)
Weakness: CWE-400, CWE-241 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P