Vulnerability record · OpenEuler 22.03-LTS-SP3
An update for python-django is now available for openEuler-22.03-LTS-SP3
OpenEuler 22.03-LTS-SP3
What it fixes
Synopsis:
python-django security updateSummary:
An update for python-django is now available for openEuler-22.03-LTS-SP3Description:
A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
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.(CVE-2025-59681)
A critical vulnerability was found in Django up to 4.2.24/5.1.12/5.2.6. Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is confidentiality, integrity, and availability. Upgrading to version 4.2.25, 5.1.13 or 5.2.7 eliminates this vulnerability.(CVE-2025-59682)Topic:
An update for python-django is now available for openEuler-22.03-LTS-SP3.
openEuler Security has rated this update as having a security impact of critical. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
CriticalAffected Component:
python-django
Manual fix · OpenEuler 22.03-LTS-SP3
sudo dnf upgrade python-django python-django-help python3-Djangorpm -q python-django python-django-help python3-DjangoSources