Uncaught Exception in strapi - CVE-2024-31217

 

Uncaught Exception in strapi - CVE-2024-31217

Published: June 12, 2024 / Updated: April 23, 2026


Vulnerability identifier: #VU126965
CSH Severity: Low
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-31217
CWE-ID: CWE-248
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to uncaught exception in the media upload process when handling a crafted file upload request. A remote user can send a specially crafted upload request containing a null byte in the filename extension to cause a denial of service.

The issue affects both development and production environments and causes the server to remain unavailable until it is manually restarted.


Affected software

strapi

How to mitigate CVE-2024-31217

Install security update from vendor's website.

strapi - update to 4.22.0

External References

Related Security Bulletins