{ "id": "CVE-2024-39330", "sourceIdentifier": "cve@mitre.org", "published": "2024-07-10T05:15:12.167", "lastModified": "2024-11-21T09:27:28.523", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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.)" }, { "lang": "es", "value": "Se descubri\u00f3 un problema en Django 5.0 anterior a 5.0.7 y 4.2 anterior a 4.2.14. Las clases derivadas de la clase base django.core.files.storage.Storage, cuando anulan generate_filename() sin replicar las validaciones de ruta de archivo de la clase principal, potencialmente permiten directory traversal a trav\u00e9s de ciertas entradas durante una llamada save(). (Las subclases de almacenamiento integrado no se ven afectadas)." } ], "metrics": { "cvssMetricV31": [ { "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE" }, "exploitabilityScore": 2.8, "impactScore": 1.4 } ] }, "weaknesses": [ { "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-22" } ] } ], "references": [ { "url": "https://docs.djangoproject.com/en/dev/releases/security/", "source": "cve@mitre.org" }, { "url": "https://groups.google.com/forum/#%21forum/django-announce", "source": "cve@mitre.org" }, { "url": "https://www.djangoproject.com/weblog/2024/jul/09/security-releases/", "source": "cve@mitre.org" }, { "url": "https://docs.djangoproject.com/en/dev/releases/security/", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://groups.google.com/forum/#%21forum/django-announce", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://www.djangoproject.com/weblog/2024/jul/09/security-releases/", "source": "af854a3a-2127-422b-91ae-364da2661108" } ] }