深刻度 高
Django contains Uncontrolled Resource Consumption via cached header
django(ライブラリ)の脆弱性です。深刻度は「高」、CVSS は 7.5です。修正版は 3.2.17 です。
- 対象
- django(ライブラリ)
- CVE 番号
- CVE-2023-23969
- 深刻度
- 高CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- 影響を受けるバージョン
- 3.2a1 以上、3.2.17 未満
- 修正版
- 3.2.17
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
In Django 3.2 before 3.2.17, 4.0 before 4.0.9, and 4.1 before 4.1.6, the parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of Accept-Language headers is very large.(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
django を、修正版の 3.2.17 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
- https://nvd.nist.gov/vuln/detail/CVE-2023-23969(新しいタブで開きます)
- https://github.com/django/django/commit/4452642f193533e288a52c02efb5bbc766a68f95(新しいタブで開きます)
- https://github.com/django/django/commit/9d7bd5a56b1ce0576e8e07a8001373576d277942(新しいタブで開きます)
- https://github.com/django/django/commit/c7e0151fdf33e1b11d488b6f67b94fdf3a30614a(新しいタブで開きます)
- https://docs.djangoproject.com/en/4.1/releases/security(新しいタブで開きます)
- https://github.com/django/django(新しいタブで開きます)
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-12.yaml(新しいタブで開きます)
- https://groups.google.com/forum/#!forum/django-announce(新しいタブで開きます)
- https://lists.debian.org/debian-lts-announce/2023/02/msg00000.html(新しいタブで開きます)
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK(新しいタブで開きます)
django のほかの脆弱性
- Django vulnerable to denial-of-service attack via the urlize() and urlizetrunc() template filters
- Django potential denial of service vulnerability in UsernameField on Windows
- Django bypasses validation when using one form field to upload multiple files
- Resource exhaustion in Django
- Django denial-of-service vulnerability in internationalized URLs
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。