CVE-2024-39330
Django Path Traversal vulnerability
7.5
HIGH
CVSS 3.1
EPSS 1.0%
描述
An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. Derived classes of the django.core.files.storage.Storage base class, when they override generate_filename() without replicating the file-path validations from the parent class, potentially allow directory traversal via certain inputs during a save() call. (Built-in Storage sub-classes are unaffected.)
如何修補 CVE-2024-39330
要修補 CVE-2024-39330,請將受影響套件升級到下列已修補版本。
- —升級至 4.2.14 或更新版本
- —升級至 2:2.2.28-1~deb11u11 或更新版本
- —升級至 5.0.7 或更新版本
- —升級至 5.0.7 或更新版本
CVE-2024-39330 正在被利用嗎?
低 — EPSS 為 1.0%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- >= 4.2.0, < 4.2.14, >= 5.0.0, < 5.0.7
- from 0, < 2:2.2.28-1~deb11u11
- >= 5.0, < 5.0.7
- >= 5.0, < 5.0.7, >= 4.2, < 4.2.14
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |