CVE-2024-31217
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.
How to fix
- strapi strapi4.22.0 or later
- @strapi/plugin-upload4.22.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strapi strapi | v < 4.22.0 | 4.22.0 |
| @strapi/plugin-uploadnpm | v < 4.22.0 | 4.22.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.