原始描述
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.
受影响的软件
- Wagtail *≥ 4.2 < 4.2.2< 4.1.4 修复版本: 4.2.2, 4.1.4 仓库或软件包匹配
详情
- 发布日期
- 2023-04-03
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-400, CWE-770
- EPSS(30 天内被利用概率)
- 1.07% (百分位 65)
参考资料
- cve.org/CVE-2023-28837
- nvd.nist.gov/vuln/detail/CVE-2023-28837
- docs.wagtail.org/en/stable/reference/settings.html#wagtailimages-max-upload-size
- github.com/wagtail/wagtail/commit/3c0c64642b9e5b8d28b111263c7f4bddad6c3880
- github.com/wagtail/wagtail/commit/c9d2fcd650a88d76ae122646142245e5927a9165
- github.com/wagtail/wagtail/commit/cfa11bbe00dbe7ce8cd4c0bbfe2a898a690df2bf
- github.com/wagtail/wagtail/commit/d4022310cbe497993459c3136311467c7ac6329a
- github.com/wagtail/wagtail/releases/tag/v4.1.4
- github.com/wagtail/wagtail/releases/tag/v4.2.2
- github.com/wagtail/wagtail/security/advisories/GHSA-33pv-vcgh-jfg9
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。