CVE-2024-21523
HIGH 7.5CVSS 3.1images vulnerable to Denial of Service
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.
- Published
- 10 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-241CWE-400
- Also known as
- GHSA-vjpv-x8p9-7p85
- Sources
- NVDJSONOSV GHSA-vjpv-x8p9-7p85JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | images | <= 3.2.4 |
References
- https://gist.github.com/dellalibera/8b4ea6b4db84cba212e6e6e39a6933d1 · WEB
- https://github.com/zhangyuanwei/node-images/blob/691d49f4e620b4eec9f1c47b1735841d9d8b55f6/src/Image.cc · WEB
- https://security.snyk.io/vuln/SNYK-JS-IMAGES-6421826 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21523 · ADVISORY
- https://github.com/zhangyuanwei/node-images · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Jul 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Jul 2024)