Djangoの脆弱性によりサーバー上の任意の場所にファイルを書き込まれるおそれ
概要
Djangoのgisモジュールに含まれるRasterFieldで、攻撃者が指定した場所にファイルを作られる脆弱性が見つかりました。ラスタードライバーによってはリモートでのコード実行につながるおそれがあります。影響するのは6.1.4より前の6.1系、6.0.11より前の6.0系、5.2.20より前の5.2系で、修正版は6.1.4、6.0.11、5.2.20です。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Djangoのgisモジュールに含まれるRasterFieldで、攻撃者が指定した場所にファイルを作られる脆弱性が見つかりました。ラスタードライバーによってはリモートでのコード実行につながるおそれがあります。影響するのは6.1.4より前の6.1系、6.0.11より前の6.0系、5.2.20より前の5.2系で、修正版は6.1.4、6.0.11、5.2.20です。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| djangoprojectDjango |
6.1 以上 6.1.4 未満→ 6.1.4 6.0 以上 6.0.11 未満→ 6.0.11 5.2 以上 5.2.20 未満→ 5.2.20 |
6.1.4 6.0.11 5.2.20 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20.
django.contrib.gis.db.models.RasterField allows the creation of files at attacker-controlled locations via the name parameter of a data definition. Depending on the raster driver, this could enable remote code execution.
Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.
Django would like to thank Mohammed Fathy for reporting this issue.
出典: CVE.org (CVE Program・cvelistV5) NVD
参照URL
- advisory Django security archive
- advisory Django security releases issued: 6.1.4, 6.0.11, and 5.2.20
- mailing Django releases announcements
- patch github.com
- patch github.com
- patch github.com
- patch github.com