CVE-2024-31217

CVE-2024-31217 is a medium-severity vulnerability in Strapi with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-248.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-31217?
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.
How severe is CVE-2024-31217?
CVE-2024-31217 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
Is CVE-2024-31217 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-31217?
CVE-2024-31217 affects Strapi. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-31217?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-31217 have an EU (EUVD) identifier?
Yes. CVE-2024-31217 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2121.
When was CVE-2024-31217 published?
CVE-2024-31217 was published on 2024-06-12 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Strapi

All CVEs affecting Strapi →

Other CWE-248 vulnerabilities

Browse all CWE-248 vulnerabilities →