Vulnerability · Published Jun 12, 2024 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity security flaw in strapi from strapi. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.7%top 45.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@strapi/plugin-upload4.22.0GHSA-pm9q-xj9p-96pm

Affected products (as reported)

VendorProductVersions
strapi strapi < 4.22.0

Weakness: CWE-248 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

References