Djangoの脆弱性によりサーバー上の任意の場所にファイルを書き込まれるおそれ
Summary
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 summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
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です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| 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 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory docs.djangoproject.com
- advisory djangoproject.com
- advisory github.com
- advisory nvd.nist.gov
- package pypi.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web groups.google.com
- web github.com
- web docs.djangoproject.com
- web djangoproject.com
- web github.com