An update for python-django is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP2 and openEuler-20.03-LTS-SP3 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2022-1530 Final 1.0 1.0 2022-02-19 Initial 2022-02-19 2022-02-19 openEuler SA Tool V1.0 2022-02-19 python-django security update An update for python-django is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP2 and openEuler-20.03-LTS-SP3. 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.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-20.03-LTS-SP1,openEuler-20.03-LTS-SP2 and openEuler-20.03-LTS-SP3. 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-1530 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-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 openEuler-20.03-LTS-SP3 python-django-help-2.2.27-1.oe1.noarch.rpm python3-Django-2.2.27-1.oe1.noarch.rpm python-django-help-2.2.27-1.oe1.noarch.rpm python3-Django-2.2.27-1.oe1.noarch.rpm python3-Django-2.2.27-1.oe1.noarch.rpm python-django-help-2.2.27-1.oe1.noarch.rpm python-django-2.2.27-1.oe1.src.rpm python-django-2.2.27-1.oe1.src.rpm python-django-2.2.27-1.oe1.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-02-19 CVE-2021-45115 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 openEuler-20.03-LTS-SP3 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H python-django security update 2022-02-19 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1530 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-02-19 CVE-2021-45116 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 openEuler-20.03-LTS-SP3 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N python-django security update 2022-02-19 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1530 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-02-19 CVE-2021-45452 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 openEuler-20.03-LTS-SP3 Medium 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N python-django security update 2022-02-19 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1530 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-02-19 CVE-2022-22818 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 openEuler-20.03-LTS-SP3 Medium 6.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N python-django security update 2022-02-19 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1530 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-02-19 CVE-2022-23833 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 openEuler-20.03-LTS-SP3 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H python-django security update 2022-02-19 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1530