Django Software FoundationのDjangoにおける要素の欠如による不完全な比較に関する脆弱性
| Title |
Django Software FoundationのDjangoにおける要素の欠如による不完全な比較に関する脆弱性
|
| Summary |
Django 5.2.15未満および6.0.6未満のDjango 5.2および6.0に問題が発見されました。Djangoの`django.utils.cache.has_vary_header()`は、比較前に`Vary`レスポンスヘッダーの値から先頭および末尾の空白を取り除かないため、リモートの攻撃者が空白でパディングされたVaryヘッダー値を含むレスポンスを持つURLへのリクエストを通じてキャッシュされたレスポンスを読み取ることを可能にします。以前のサポートされていないDjangoシリーズ(5.0.x、4.1.x、3.2.xなど)についても評価されておらず、影響を受ける可能性があります。Djangoは本問題を報告したNavid Rezazadeh氏に感謝しています。
|
| Possible impacts |
・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 3, 2026, midnight |
| Registration Date |
June 8, 2026, 12:31 p.m. |
| Last Update |
June 8, 2026, 12:31 p.m. |
|
CVSS3.0 : 警告
|
| Score |
5.3
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected System
| Django Software Foundation |
|
Django 5.2 以上 5.2.15 未満
|
|
Django 6.0 以上 6.0.6 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月08日] 掲載 |
June 8, 2026, 12:31 p.m. |
NVD Vulnerability Information
CVE-2026-48587
| Summary |
An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. `django.utils.cache.has_vary_header()` in Django does not strip leading or trailing whitespace from `Vary` response header values before comparison, which allows remote attackers to read cached responses via requests to URLs whose responses contain whitespace-padded Vary header values. 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 Navid Rezazadeh for reporting this issue.
|
| Publication Date |
June 3, 2026, 11:16 p.m. |
| Registration Date |
June 4, 2026, 4:16 a.m. |
| Last Update |
June 5, 2026, 10:03 p.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
5.2 |
|
|
5.2.15 |
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
6.0 |
|
|
6.0.6 |
Related information, measures and tools
Common Vulnerabilities List