suse-su-2025:03446-1
Vulnerability from csaf_suse
Published
2025-10-02 07:13
Modified
2025-10-02 07:13
Summary
Security update for python-Django
Notes
Title of the patch
Security update for python-Django
Description of the patch
This update for python-Django fixes the following issues:
- CVE-2025-59681: SQL injection via the `QuerySet` annotate()`, `alias()`, `aggregate()`, or `extra()` methods when
processing a specially crafted dictionary with dictionary expansion (bsc#1250485).
- CVE-2025-59682: directory traversal via the `django.utils.archive.extract()` function when processing an archive with
file paths that share a common prefix with the target directory (bsc#1250487).
Patchnames
SUSE-2025-3446,SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2025-3446,SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2025-3446,openSUSE-SLE-15.6-2025-3446
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{ "document": { "aggregate_severity": { "namespace": "https://www.suse.com/support/security/rating/", "text": "critical" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright 2024 SUSE LLC. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "Security update for python-Django", "title": "Title of the patch" }, { "category": "description", "text": "This update for python-Django fixes the following issues:\n\n- CVE-2025-59681: SQL injection via the `QuerySet` annotate()`, `alias()`, `aggregate()`, or `extra()` methods when\n processing a specially crafted dictionary with dictionary expansion (bsc#1250485).\n- CVE-2025-59682: directory traversal via the `django.utils.archive.extract()` function when processing an archive with\n file paths that share a common prefix with the target directory (bsc#1250487).\n", "title": "Description of the patch" }, { "category": "details", "text": "SUSE-2025-3446,SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2025-3446,SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2025-3446,openSUSE-SLE-15.6-2025-3446", "title": "Patchnames" }, { "category": "legal_disclaimer", "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).", "title": "Terms of use" } ], "publisher": { "category": "vendor", "contact_details": "https://www.suse.com/support/security/contact/", "name": "SUSE Product Security Team", "namespace": "https://www.suse.com/" }, "references": [ { "category": "external", "summary": "SUSE ratings", "url": "https://www.suse.com/support/security/rating/" }, { "category": "self", "summary": "URL of this CSAF notice", "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_03446-1.json" }, { "category": "self", "summary": "URL for SUSE-SU-2025:03446-1", "url": "https://www.suse.com/support/update/announcement/2025/suse-su-202503446-1/" }, { "category": "self", "summary": "E-Mail link for SUSE-SU-2025:03446-1", "url": "https://lists.suse.com/pipermail/sle-updates/2025-October/041998.html" }, { "category": "self", "summary": "SUSE Bug 1250485", "url": "https://bugzilla.suse.com/1250485" }, { "category": "self", "summary": "SUSE Bug 1250487", "url": "https://bugzilla.suse.com/1250487" }, { "category": "self", "summary": "SUSE CVE CVE-2025-59681 page", "url": "https://www.suse.com/security/cve/CVE-2025-59681/" }, { "category": "self", "summary": "SUSE CVE CVE-2025-59682 page", "url": "https://www.suse.com/security/cve/CVE-2025-59682/" } ], "title": "Security update for python-Django", "tracking": { "current_release_date": "2025-10-02T07:13:00Z", "generator": { "date": "2025-10-02T07:13:00Z", "engine": { "name": "cve-database.git:bin/generate-csaf.pl", "version": "1" } }, "id": "SUSE-SU-2025:03446-1", "initial_release_date": "2025-10-02T07:13:00Z", "revision_history": [ { "date": "2025-10-02T07:13:00Z", "number": "1", "summary": "Current version" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_version", "name": "python311-Django-4.2.11-150600.3.33.1.noarch", "product": { "name": "python311-Django-4.2.11-150600.3.33.1.noarch", "product_id": "python311-Django-4.2.11-150600.3.33.1.noarch" } } ], "category": "architecture", "name": "noarch" }, { "branches": [ { "category": "product_name", "name": "SUSE Linux Enterprise Module for Package Hub 15 SP6", "product": { "name": "SUSE Linux Enterprise Module for Package Hub 15 SP6", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP6", "product_identification_helper": { "cpe": "cpe:/o:suse:packagehub:15:sp6" } } }, { "category": "product_name", "name": "SUSE Linux Enterprise Module for Package Hub 15 SP7", "product": { "name": "SUSE Linux Enterprise Module for Package Hub 15 SP7", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP7", "product_identification_helper": { "cpe": "cpe:/o:suse:packagehub:15:sp7" } } }, { "category": "product_name", "name": "openSUSE Leap 15.6", "product": { "name": "openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6", "product_identification_helper": { "cpe": "cpe:/o:opensuse:leap:15.6" } } } ], "category": "product_family", "name": "SUSE Linux Enterprise" } ], "category": "vendor", "name": "SUSE" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "python311-Django-4.2.11-150600.3.33.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP6", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP6:python311-Django-4.2.11-150600.3.33.1.noarch" }, "product_reference": "python311-Django-4.2.11-150600.3.33.1.noarch", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "python311-Django-4.2.11-150600.3.33.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP7", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP7:python311-Django-4.2.11-150600.3.33.1.noarch" }, "product_reference": "python311-Django-4.2.11-150600.3.33.1.noarch", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP7" }, { "category": "default_component_of", "full_product_name": { "name": "python311-Django-4.2.11-150600.3.33.1.noarch as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:python311-Django-4.2.11-150600.3.33.1.noarch" }, "product_reference": "python311-Django-4.2.11-150600.3.33.1.noarch", "relates_to_product_reference": "openSUSE Leap 15.6" } ] }, "vulnerabilities": [ { "cve": "CVE-2025-59681", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2025-59681" } ], "notes": [ { "category": "general", "text": "An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB).", "title": "CVE description" } ], "product_status": { "recommended": [ "SUSE Linux Enterprise Module for Package Hub 15 SP6:python311-Django-4.2.11-150600.3.33.1.noarch", "SUSE Linux Enterprise Module for Package Hub 15 SP7:python311-Django-4.2.11-150600.3.33.1.noarch", "openSUSE Leap 15.6:python311-Django-4.2.11-150600.3.33.1.noarch" ] }, "references": [ { "category": "external", "summary": "CVE-2025-59681", "url": "https://www.suse.com/security/cve/CVE-2025-59681" }, { "category": "external", "summary": "SUSE Bug 1250485 for CVE-2025-59681", "url": "https://bugzilla.suse.com/1250485" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "SUSE Linux Enterprise Module for Package Hub 15 SP6:python311-Django-4.2.11-150600.3.33.1.noarch", "SUSE Linux Enterprise Module for Package Hub 15 SP7:python311-Django-4.2.11-150600.3.33.1.noarch", "openSUSE Leap 15.6:python311-Django-4.2.11-150600.3.33.1.noarch" ] } ], "scores": [ { "cvss_v3": { "baseScore": 9.8, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "products": [ "SUSE Linux Enterprise Module for Package Hub 15 SP6:python311-Django-4.2.11-150600.3.33.1.noarch", "SUSE Linux Enterprise Module for Package Hub 15 SP7:python311-Django-4.2.11-150600.3.33.1.noarch", "openSUSE Leap 15.6:python311-Django-4.2.11-150600.3.33.1.noarch" ] } ], "threats": [ { "category": "impact", "date": "2025-10-02T07:13:00Z", "details": "critical" } ], "title": "CVE-2025-59681" }, { "cve": "CVE-2025-59682", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2025-59682" } ], "notes": [ { "category": "general", "text": "An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The django.utils.archive.extract() function, used by the \"startapp --template\" and \"startproject --template\" commands, allows partial directory traversal via an archive with file paths sharing a common prefix with the target directory.", "title": "CVE description" } ], "product_status": { "recommended": [ "SUSE Linux Enterprise Module for Package Hub 15 SP6:python311-Django-4.2.11-150600.3.33.1.noarch", "SUSE Linux Enterprise Module for Package Hub 15 SP7:python311-Django-4.2.11-150600.3.33.1.noarch", "openSUSE Leap 15.6:python311-Django-4.2.11-150600.3.33.1.noarch" ] }, "references": [ { "category": "external", "summary": "CVE-2025-59682", "url": "https://www.suse.com/security/cve/CVE-2025-59682" }, { "category": "external", "summary": "SUSE Bug 1250487 for CVE-2025-59682", "url": "https://bugzilla.suse.com/1250487" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "SUSE Linux Enterprise Module for Package Hub 15 SP6:python311-Django-4.2.11-150600.3.33.1.noarch", "SUSE Linux Enterprise Module for Package Hub 15 SP7:python311-Django-4.2.11-150600.3.33.1.noarch", "openSUSE Leap 15.6:python311-Django-4.2.11-150600.3.33.1.noarch" ] } ], "scores": [ { "cvss_v3": { "baseScore": 7.5, "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" }, "products": [ "SUSE Linux Enterprise Module for Package Hub 15 SP6:python311-Django-4.2.11-150600.3.33.1.noarch", "SUSE Linux Enterprise Module for Package Hub 15 SP7:python311-Django-4.2.11-150600.3.33.1.noarch", "openSUSE Leap 15.6:python311-Django-4.2.11-150600.3.33.1.noarch" ] } ], "threats": [ { "category": "impact", "date": "2025-10-02T07:13:00Z", "details": "important" } ], "title": "CVE-2025-59682" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…