OESA-2022-1642

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1642
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1642.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1642
Upstream
Published
2022-05-11T11:03:45Z
Modified
2025-08-12T05:13:25.869936Z
Summary
python-django security update
Details

A high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Security Fix(es):

An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed *kwargs.(CVE-2022-28346) A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the *options argument, and placing the injection payload in an option name.(CVE-2022-28347)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / python-django

Package

Name
python-django
Purl
pkg:rpm/openEuler/python-django&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.27-2.oe1

Ecosystem specific

{
    "src": [
        "python-django-2.2.27-2.oe1.src.rpm"
    ],
    "noarch": [
        "python-django-help-2.2.27-2.oe1.noarch.rpm",
        "python3-Django-2.2.27-2.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / python-django

Package

Name
python-django
Purl
pkg:rpm/openEuler/python-django&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.27-2.oe1

Ecosystem specific

{
    "src": [
        "python-django-2.2.27-2.oe1.src.rpm"
    ],
    "noarch": [
        "python-django-help-2.2.27-2.oe1.noarch.rpm",
        "python3-Django-2.2.27-2.oe1.noarch.rpm"
    ]
}

openEuler:22.03-LTS / python-django

Package

Name
python-django
Purl
pkg:rpm/openEuler/python-django&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.27-2.oe2203

Ecosystem specific

{
    "src": [
        "python-django-2.2.27-2.oe2203.src.rpm"
    ],
    "noarch": [
        "python-django-help-2.2.27-2.oe2203.noarch.rpm",
        "python3-Django-2.2.27-2.oe2203.noarch.rpm"
    ]
}