CVE-2024-39330
Last modified
CVE-2024-39330 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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. EPSS estimates a 1.01% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2, < 4.2.14 |
| Djangoproject | Django | >= 5.0, < 5.0.7 |
References
- https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announcePermissions Required
- https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announcePermissions Required
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-39330?
How severe is CVE-2024-39330?
How do I fix CVE-2024-39330?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-39325aimeos/ai-controller-frontend is the Aimeos frontend contro…5.3
- CVE-2024-39326SkillTree is a micro-learning gamification platform. Prior t…4.4
- CVE-2024-39327Incorrect Access Control vulnerability in Atos Eviden IDRA b…9.9
- CVE-2024-39328Insecure Permissions in Atos Eviden IDRA and IDCA before 2.7…6.8
- CVE-2024-39329An issue was discovered in Django 5.0 before 5.0.7 and 4.2 b…5.3
- CVE-2024-3933In Eclipse OpenJ9 release versions prior to 0.44.0 and after…7.3
- CVE-2024-39331In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el e…9.8
- CVE-2024-39332Webswing 23.2.2 allows remote attackers to modify client-sid…9.8
- CVE-2024-39334MENDELSON AS4 before 2024 B376 has a client-side vulnerabili…6.5
- CVE-2024-39335Supported versions of Mahara 24.04 before 24.04.1 and 23.04 …9.1
- CVE-2024-39337Click Studios Passwordstate Core before 9.8 build 9858 allow…6.5
- CVE-2024-39338axios 1.7.2 allows SSRF via unexpected behavior where reques…7.5
Are you affected by CVE-2024-39330?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
