An update for python-django is now available for openEuler-22.03-LTS
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2022-2055
Final
1.0
1.0
2022-11-11
Initial
2022-11-11
2022-11-11
openEuler SA Tool V1.0
2022-11-11
python-django security update
An update for python-django is now available for openEuler-22.03-LTS.
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)
An update for python-django is now available for openEuler-22.03-LTS.
openEuler Security has rated this update as having a security impact of high. 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.
High
python-django
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2055
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-45115
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-45116
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-45452
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-22818
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-23833
https://nvd.nist.gov/vuln/detail/CVE-2021-45115
https://nvd.nist.gov/vuln/detail/CVE-2021-45116
https://nvd.nist.gov/vuln/detail/CVE-2021-45452
https://nvd.nist.gov/vuln/detail/CVE-2022-22818
https://nvd.nist.gov/vuln/detail/CVE-2022-23833
openEuler-22.03-LTS
python3-Django-2.2.27-2.oe2203.noarch.rpm
python-django-help-2.2.27-2.oe2203.noarch.rpm
python-django-2.2.27-2.oe2203.src.rpm
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.
2022-11-11
CVE-2021-45115
openEuler-22.03-LTS
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
python-django security update
2022-11-11
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2055
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.
2022-11-11
CVE-2021-45116
openEuler-22.03-LTS
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
python-django security update
2022-11-11
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2055
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.
2022-11-11
CVE-2021-45452
openEuler-22.03-LTS
Medium
5.3
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
python-django security update
2022-11-11
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2055
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.
2022-11-11
CVE-2022-22818
openEuler-22.03-LTS
Medium
6.1
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
python-django security update
2022-11-11
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2055
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.
2022-11-11
CVE-2022-23833
openEuler-22.03-LTS
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
python-django security update
2022-11-11
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2055