BIT-django-2024-39330

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2024-39330.json
JSON Data
https://api.test.osv.dev/v1/vulns/BIT-django-2024-39330
Aliases
Published
2025-03-10T08:15:12.172Z
Modified
2025-04-03T14:40:37.652Z
Summary
[none]
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.)

Database specific
{
    "cpes": [
        "cpe:2.3:a:djangoproject:django:*:*:*:*:*:python:*:*"
    ],
    "severity": "Medium"
}
References

Affected packages

Bitnami / django

Package

Name
django
Purl
pkg:bitnami/django

Severity

  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
4.2.0
Fixed
4.2.14
Introduced
5.0.0
Fixed
5.0.7