Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2024-39330 Details
Description
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.)
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 10, 2024Exploitation: NoneAutomatable: NoTechnical Impact: Partial
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.djangoproject.com/en/dev/releases/security/ | CVE | Vendor Advisory |
| https://groups.google.com/forum/#%21forum/django-announce | CVE | Permissions Required |
| https://security.netapp.com/advisory/ntap-20240808-0005/ | CVE | |
| https://www.djangoproject.com/weblog/2024/jul/09/security-releases/ | CVE | Vendor Advisory |
| https://docs.djangoproject.com/en/dev/releases/security/ | [email protected] | Vendor Advisory |
| https://groups.google.com/forum/#%21forum/django-announce | [email protected] | Permissions Required |
| https://www.djangoproject.com/weblog/2024/jul/09/security-releases/ | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| djangoproject django | >= 4.2, < 4.2.14 >= 5.0, < 5.0.7 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 4, 2025 | CVE Modified | CVE |
| Jun 16, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Nov 1, 2024 | CVE Modified | CISA-ADP |
| Jul 10, 2024 | New CVE Received | [email protected] |