CVE-2023-28837
Summary
| CVE | CVE-2023-28837 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-04-03 17:15:00 UTC |
| Updated | 2023-11-07 04:10:00 UTC |
| Description | Wagtail is an open source content management system built on Django. Prior to versions 4.1.4 and 4.2.2, a memory exhaustion bug exists in Wagtail's handling of uploaded images and documents. For both images and documents, files are loaded into memory during upload for additional processing. A user with access to upload images or documents through the Wagtail admin interface could upload a file so large that it results in a crash of denial of service. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. It can only be exploited by admin users with permission to upload images or documents. Image uploads are restricted to 10MB by default, however this validation only happens on the frontend and on the backend after the vulnerable code. Patched versions have been released as Wagtail 4.1.4 and Wagtail 4.2.2). Site owners who are unable to upgrade to the new versions are encouraged to add extra protections outside of Wagtail to limit the size of uploaded files. |
Risk And Classification
Problem Types: CWE-400 | CWE-770
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release note for CVE-2023-28837 in 4.2.2 · wagtail/wagtail@c9d2fcd · GitHub | MISC | github.com | |
| Release 4.1.4 · wagtail/wagtail · GitHub | MISC | github.com | |
| Denial-of-service via memory exhaustion when uploading large files · Advisory · wagtail/wagtail · GitHub | MISC | github.com | |
| Settings — Wagtail Documentation 4.1.1 documentation | MISC | docs.wagtail.org | |
| Don't load images / documents into memory when calculating their hash · wagtail/wagtail@3c0c646 · GitHub | MISC | github.com | |
| Release note for CVE-2023-28837 in 4.1.4 · wagtail/wagtail@d402231 · GitHub | MISC | github.com | |
| Don't load temporary uploaded files into memory · wagtail/wagtail@cfa11bb · GitHub | MISC | github.com | |
| Release 4.2.2 · wagtail/wagtail · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.