{"schema_version":"1.9.0","id":"BIT-django-2024-39330","published":"2025-03-10T08:15:12.172Z","modified":"2026-09-08T08:46:32.840129013Z","aliases":["CVE-2024-39330","GHSA-9jmf-237g-qf46","PYSEC-2024-58"],"details":"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.)","affected":[{"package":{"name":"django","ecosystem":"Bitnami","purl":"pkg:bitnami/django"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.2.0"},{"fixed":"4.2.14"},{"introduced":"5.0.0"},{"fixed":"5.0.7"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2024-39330.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}],"references":[{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2024/jul/09/security-releases/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39330"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240808-0005/"}],"database_specific":{"cpes":["cpe:2.3:a:djangoproject:django:*:*:*:*:*:python:*:*"],"severity":"Medium"}}