CVE-2024-31217
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 5.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-248
- Record status
- Modified
Affected
- Strapi < 4.22.0
Attack profile CVSS 3.1 · 5.3
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-31217.md and follow it. Check whether this project is affected by CVE-2024-31217. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/strapi/strapi/commit/a0da7e73e1496d835fe71a2febb14f70170135c7
- https://github.com/strapi/strapi/security/advisories/GHSA-pm9q-xj9p-96pm
- https://github.com/strapi/strapi/commit/a0da7e73e1496d835fe71a2febb14f70170135c7
- https://github.com/strapi/strapi/security/advisories/GHSA-pm9q-xj9p-96pm
References
- https://github.com/strapi/strapi/commit/a0da7e73e1496d835fe71a2febb14f70170135c7
- https://github.com/strapi/strapi/security/advisories/GHSA-pm9q-xj9p-96pm
- https://github.com/strapi/strapi/commit/a0da7e73e1496d835fe71a2febb14f70170135c7
- https://github.com/strapi/strapi/security/advisories/GHSA-pm9q-xj9p-96pm