SUSE VEX
SUSEVEX-CVE-2024-39330
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | python-Django | All versions, no fix yet |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | python311-Django | All versions, no fix yet |
| openSUSE:Leap 15.5 | python-Django | All versions, no fix yet |
| openSUSE:Leap 15.5 | python3-Django | All versions, no fix yet |
References
- https://www.suse.com/security/cve/CVE-2024-39330
- https://www.suse.com/support/security/rating/
- https://bugzilla.suse.com/1227590
- https://bugzilla.suse.com/1227594
- https://lists.suse.com/pipermail/sle-security-updates/2024-July/018995.html
- https://lists.suse.com/pipermail/sle-updates/2024-July/036097.html
- https://lists.opensuse.org/archives/list/[email protected]/thread/OU4KXNSFOQVRSGL2OQCMRA3EFMPZEGEU/