Search for vulnerabilities
Vulnerability details: VCID-311z-mwbu-aaac
Vulnerability ID VCID-311z-mwbu-aaac
Aliases BIT-django-2024-39330
CVE-2024-39330
GHSA-9jmf-237g-qf46
PYSEC-2024-58
Summary 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.)
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
cvssv3 4.3 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-39330.json
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00042 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00045 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.0005 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.0005 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.0005 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00053 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00186 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00186 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00186 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00186 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00186 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00207 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
epss 0.00678 https://api.first.org/data/v1/epss?cve=CVE-2024-39330
cvssv3.1 3.7 https://docs.djangoproject.com/en/dev/releases/security
generic_textual MODERATE https://docs.djangoproject.com/en/dev/releases/security
cvssv3.1 4.3 https://docs.djangoproject.com/en/dev/releases/security/
generic_textual Medium https://docs.djangoproject.com/en/dev/releases/security/
ssvc Track https://docs.djangoproject.com/en/dev/releases/security/
cvssv3.1 7.5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-9jmf-237g-qf46
cvssv3.1 3.7 https://github.com/django/django
generic_textual MODERATE https://github.com/django/django
cvssv3.1 7.5 https://github.com/django/django/commit/2b00edc0151a660d1eb86da4059904a0fc4e095e
generic_textual HIGH https://github.com/django/django/commit/2b00edc0151a660d1eb86da4059904a0fc4e095e
cvssv3.1 7.5 https://github.com/django/django/commit/9f4f63e9ebb7bf6cb9547ee4e2526b9b96703270
generic_textual HIGH https://github.com/django/django/commit/9f4f63e9ebb7bf6cb9547ee4e2526b9b96703270
cvssv3.1 7.5 https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-58.yaml
generic_textual HIGH https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-58.yaml
cvssv3.1 3.7 https://groups.google.com/forum/#%21forum/django-announce
cvssv3.1 4.3 https://groups.google.com/forum/#%21forum/django-announce
generic_textual MODERATE https://groups.google.com/forum/#%21forum/django-announce
ssvc Track https://groups.google.com/forum/#%21forum/django-announce
cvssv3.1 7.5 https://www.djangoproject.com/weblog/2024/jul/09/security-releases
generic_textual HIGH https://www.djangoproject.com/weblog/2024/jul/09/security-releases
cvssv3.1 4.3 https://www.djangoproject.com/weblog/2024/jul/09/security-releases/
ssvc Track https://www.djangoproject.com/weblog/2024/jul/09/security-releases/
Reference id Reference type URL
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-39330.json
https://api.first.org/data/v1/epss?cve=CVE-2024-39330
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39330
https://docs.djangoproject.com/en/dev/releases/security
https://docs.djangoproject.com/en/dev/releases/security/
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/django/django
https://github.com/django/django/commit/2b00edc0151a660d1eb86da4059904a0fc4e095e
https://github.com/django/django/commit/9f4f63e9ebb7bf6cb9547ee4e2526b9b96703270
https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-58.yaml
https://groups.google.com/forum/#%21forum/django-announce
https://www.djangoproject.com/weblog/2024/jul/09/security-releases
https://www.djangoproject.com/weblog/2024/jul/09/security-releases/
1076069 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076069
2295937 https://bugzilla.redhat.com/show_bug.cgi?id=2295937
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
CVE-2024-39330 https://nvd.nist.gov/vuln/detail/CVE-2024-39330
GHSA-9jmf-237g-qf46 https://github.com/advisories/GHSA-9jmf-237g-qf46
RHSA-2024:8906 https://access.redhat.com/errata/RHSA-2024:8906
RHSA-2024:9481 https://access.redhat.com/errata/RHSA-2024:9481
USN-6888-1 https://usn.ubuntu.com/6888-1/
USN-6888-2 https://usn.ubuntu.com/6888-2/
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-39330.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://docs.djangoproject.com/en/dev/releases/security
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Found at https://docs.djangoproject.com/en/dev/releases/security/
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-10T13:59:56Z/ Found at https://docs.djangoproject.com/en/dev/releases/security/
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://github.com/django/django
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/django/django/commit/2b00edc0151a660d1eb86da4059904a0fc4e095e
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/django/django/commit/9f4f63e9ebb7bf6cb9547ee4e2526b9b96703270
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-58.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://groups.google.com/forum/#%21forum/django-announce
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Found at https://groups.google.com/forum/#%21forum/django-announce
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-10T13:59:56Z/ Found at https://groups.google.com/forum/#%21forum/django-announce
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://www.djangoproject.com/weblog/2024/jul/09/security-releases
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Found at https://www.djangoproject.com/weblog/2024/jul/09/security-releases/
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-10T13:59:56Z/ Found at https://www.djangoproject.com/weblog/2024/jul/09/security-releases/
Exploit Prediction Scoring System (EPSS)
Percentile 0.12156
EPSS Score 0.00042
Published At April 15, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2024-07-09T23:19:42.913903+00:00 SUSE Severity Score Importer Import https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml 34.0.0rc4