Feed
7.5HIGH

CVE-2024-39330Django Path Traversal vulnerability

A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.2% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.2%
percentile 69%
Priority
25/100 medium
how it is computed
Fix
Named by a source
CVE published 10 Jul 2024

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.2% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 5.0, < 5.0.7Fixed in5.0.7OSV (PYSEC-2024-58)
    • Affected>= 4.2, < 4.2.14Fixed in4.2.14OSV (PYSEC-2024-58)

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
GitHub Advisory Database (GHSA-9jmf-237g-qf46)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-22

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.)

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 30 min ago · osv 29 min ago · nvd 2 h ago · epss 29 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2024-39330, GHSA-9jmf-237g-qf46, PYSEC-2024-58