CVE-2024-31217
MEDIUM 6.5CVSS 3.1@strapi/plugin-upload has a Denial-of-Service via Improper Exception Handling
Strapi is an open-source content management system. Prior to version 4.22.0, a denial-of-service vulnerability is present in the media upload process causing the server to crash without restarting, affecting either development and production environments. Usually, errors in the application cause it to log the error and keep it running for other clients. This behavior, in contrast, stops the server execution, making it unavailable for any clients until it's manually restarted. Any user with access to the file upload functionality is able to exploit this vulnerability, affecting applications running in both development mode and production mode as well. Users should upgrade @strapi/plugin-upload to version 4.22.0 to receive a patch.
- Published
- 12 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-248
- Also known as
- GHSA-pm9q-xj9p-96pm
- Sources
- NVDJSONOSV GHSA-pm9q-xj9p-96pmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | strapi | strapicpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:* |
< 4.22.0 | 4.22.0 |
| OSV | npm | @strapi/plugin-upload | < 4.22.0 | 4.22.0 |
References
- https://github.com/strapi/strapi/commit/a0da7e73e1496d835fe71a2febb14f70170135c7 · Patch, WEB
- https://github.com/strapi/strapi/security/advisories/GHSA-pm9q-xj9p-96pm · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-31217 · ADVISORY
- https://github.com/strapi/strapi · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 12 Jun 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Jun 2024)