CVE-2024-31217

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductStrapi
PublishedJun 12, 2024
First seenJun 12, 2024
Weakness typeCWE-248CWE-248

How to fix

Update
  • strapi strapi4.22.0 or later
  • @strapi/plugin-upload4.22.0 or later

Affected products

ProductAffected versionsFixed in
strapi strapiv < 4.22.04.22.0
@strapi/plugin-uploadnpmv < 4.22.04.22.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-31217 · Strapi · Dark Radar