What’s Vulnerable › Vulnerabilities

CVE-2024-31217: @strapi/plugin-upload has a Denial-of-Service via Improper Exception Handling

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.

Affected products

How to fix

Upgrade to a fixed version: strapi 4.22.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-31217 or the next vulnerability affects your stack