Django Software FoundationのDjangoにおけるレングスパラメーターの不整合による処理に関する脆弱性
| Title |
Django Software FoundationのDjangoにおけるレングスパラメーターの不整合による処理に関する脆弱性
|
| Summary |
6.0.5より前のバージョン6.0および5.2.14より前のバージョン5.2に問題が発見されました。`Content-Length`ヘッダーが欠落または過小評価されたASGIリクエストは、`FILE_UPLOAD_MAX_MEMORY_SIZE`制限を回避でき、大きなファイルをメモリに読み込むことでサービスが劣化する可能性があります。なお、Djangoは`FILE_UPLOAD_MAX_MEMORY_SIZE`にのみ依存せず、Webサーバーレベルでの制限設定を期待しています。以前のサポート対象外のDjangoシリーズ(5.0.x、4.1.x、3.2.xなど)も評価されておらず、影響を受けている可能性があります。Djangoは本問題を報告したKyle Agronick氏に感謝しています。
|
| Possible impacts |
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアの一部が停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 5, 2026, midnight |
| Registration Date |
May 11, 2026, 10:55 a.m. |
| Last Update |
May 11, 2026, 10:55 a.m. |
|
CVSS3.0 : 警告
|
| Score |
5.3
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected System
| Django Software Foundation |
|
Django 5.2 以上 5.2.14 未満
|
|
Django 6.0 以上 6.0.5 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月11日] 掲載 |
May 11, 2026, 10:55 a.m. |
NVD Vulnerability Information
CVE-2026-5766
| Summary |
An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. ASGI requests with a missing or understated `Content-Length` header can bypass the `FILE_UPLOAD_MAX_MEMORY_SIZE` limit, potentially loading large files into memory and causing service degradation. As a reminder, Django expects a limit to be configured at the web server level rather than solely relying on `FILE_UPLOAD_MAX_MEMORY_SIZE`. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Kyle Agronick for reporting this issue.
|
| Publication Date |
May 6, 2026, 1:16 a.m. |
| Registration Date |
May 6, 2026, 4:07 a.m. |
| Last Update |
May 7, 2026, 11:16 p.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
5.2 |
|
|
5.2.14 |
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
6.0 |
|
|
6.0.5 |
Related information, measures and tools
Common Vulnerabilities List