OESA-2022-2055

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

Security Fix(es):

An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. UserAttributeSimilarityValidator incurred significant overhead in evaluating a submitted password that was artificially large in relation to the comparison values. In a situation where access to user registration was unrestricted, this provided a potential vector for a denial-of-service attack.(CVE-2021-45115)

An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure, or an unintended method call, if passed a suitably crafted key.(CVE-2021-45116)

Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it.(CVE-2021-45452)

The {% debug %} template tag in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2 does not properly encode the current context. This may lead to XSS.(CVE-2022-22818)

An issue was discovered in MultiPartParser in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2. Passing certain inputs to multipart forms could result in an infinite loop when parsing files.(CVE-2022-23833)

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

Affected packages

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": [
        "python3-Django-2.2.27-2.oe2203.noarch.rpm",
        "python-django-help-2.2.27-2.oe2203.noarch.rpm"
    ]
}