Upstream information

CVE-2024-39330 at MITRE

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.)

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  CNA (CISA-ADP) SUSE
Base Score 4.3 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required Low None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact Low None
Integrity Impact None High
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entries: 1227590 [IN_PROGRESS], 1227594 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Module for Package Hub 15 SP6
  • python311-Django >= 4.2.11-150600.3.3.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2024-2577
openSUSE Leap 15.5
  • python3-Django >= 2.0.7-150000.1.20.1
Patchnames:
openSUSE-2024-251
openSUSE-SLE-15.5-2024-2545
openSUSE Leap 15.6
  • python311-Django >= 4.2.11-150600.3.3.1
Patchnames:
openSUSE-SLE-15.6-2024-2577
openSUSE Tumbleweed
  • python310-Django >= 5.0.7-2.1
  • python310-Django4 >= 4.2.14-1.1
  • python311-Django >= 5.0.7-2.1
  • python311-Django4 >= 4.2.14-1.1
  • python312-Django >= 5.0.7-2.1
  • python312-Django4 >= 4.2.14-1.1
Patchnames:
openSUSE-Tumbleweed-2024-14203
openSUSE-Tumbleweed-2024-14208


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Module for Package Hub 15 SP6 python-Django Released
openSUSE Leap 15.5 python-Django Affected
openSUSE Leap 15.6 python-Django Released


SUSE Timeline for this CVE

CVE page created: Tue Jul 9 18:00:10 2024
CVE page last modified: Fri Nov 15 17:53:28 2024