SUSE 5150 Published by

A python-Django security update has been released for SUSE Linux Enterprise 15 SP3.



openSUSE-SU-2023:0005-1: important: Security update for python-Django


openSUSE Security Update: Security update for python-Django
______________________________________________________________________________

Announcement ID: openSUSE-SU-2023:0005-1
Rating: important
References: #1185713 #1186608 #1186611 #1193240 #1194115
#1194116 #1194117 #1195086 #1195088 #1198297
#1198398 #1198399 #1201923 #1203793
Cross-References: CVE-2021-32052 CVE-2021-33203 CVE-2021-33571
CVE-2021-44420 CVE-2021-45115 CVE-2021-45116
CVE-2021-45452 CVE-2022-22818 CVE-2022-23833
CVE-2022-28346 CVE-2022-28347 CVE-2022-36359
CVE-2022-41323
CVSS scores:
CVE-2021-32052 (NVD) : 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE-2021-32052 (SUSE): 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVE-2021-33203 (NVD) : 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVE-2021-33571 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVE-2021-33571 (SUSE): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVE-2021-44420 (NVD) : 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVE-2021-44420 (SUSE): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVE-2021-45115 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE-2021-45115 (SUSE): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE-2021-45116 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE-2021-45116 (SUSE): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE-2021-45452 (NVD) : 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVE-2021-45452 (SUSE): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVE-2022-22818 (NVD) : 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE-2022-22818 (SUSE): 5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CVE-2022-23833 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE-2022-23833 (SUSE): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE-2022-28346 (NVD) : 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2022-28346 (SUSE): 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVE-2022-28347 (NVD) : 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2022-28347 (SUSE): 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVE-2022-36359 (NVD) : 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVE-2022-36359 (SUSE): 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CVE-2022-41323 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products:
openSUSE Backports SLE-15-SP3
______________________________________________________________________________

An update that solves 13 vulnerabilities and has one errata
is now available.

Description:

This update for python-Django fixes the following issues:

- CVE-2022-41323: Fixed potential denial-of-service vulnerability in
internationalized URLs (boo#1203793)
- CVE-2022-36359: Fixed a potential reflected file download vulnerability
in FileResponse (boo#1201923)

- Update from 2.2.12 to 2.2.28 (boo#1198297)

* Many CVEs fixes (check
  https://github.com/django/django/blob/main/docs/releases/)

2.2.28:

- CVE-2022-28346: Fixed potential SQL injection in QuerySet.annotate(),
aggregate(), and extra() (bsc#1198398)
- CVE-2022-28347: Fixed potential SQL injection via
QuerySet.explain(**options) (bsc#1198399)

2.2.27:

- CVE-2022-22818: Fixed possible XSS via ``{% debug %}`` template tag
(bsc#1195086)
- CVE-2022-23833: Fixed denial-of-service possibility in file uploads
(bsc#1195088)

2.2.26:

- CVE-2021-45115: Denial-of-service possibility in
``UserAttributeSimilarityValidator`` (bsc#1194115)
- CVE-2021-45116: Potential information disclosure in ``dictsort``
template filter (bsc#1194117)
- CVE-2021-45452: Potential directory-traversal via ``Storage.save()``
(bsc#)

2.2.25:

- CVE-2021-44420: Potential bypass of an upstream access control based
on URL paths (bsc#1193240)

2.2.24:

- CVE-2021-33203: Potential directory traversal via ``admindocs``
- CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks
since validators accepted leading zeros in IPv4 addresses

2.2.23:

- regression fix

2.2.22:

- CVE-2021-32052: Header injection possibility since ``URLValidator``
accepted newlines in input on Python 3.9.5+

Patch Instructions:

To install this openSUSE Security Update use the SUSE recommended installation methods
like YaST online_update or "zypper patch".

Alternatively you can run the command listed for your product:

- openSUSE Backports SLE-15-SP3:

zypper in -t patch openSUSE-2023-5=1


Package List:

- openSUSE Backports SLE-15-SP3 (noarch):

python3-Django-2.2.28-bp153.2.3.1

References:

  https://www.suse.com/security/cve/CVE-2021-32052.html
  https://www.suse.com/security/cve/CVE-2021-33203.html
  https://www.suse.com/security/cve/CVE-2021-33571.html
  https://www.suse.com/security/cve/CVE-2021-44420.html
  https://www.suse.com/security/cve/CVE-2021-45115.html
  https://www.suse.com/security/cve/CVE-2021-45116.html
  https://www.suse.com/security/cve/CVE-2021-45452.html
  https://www.suse.com/security/cve/CVE-2022-22818.html
  https://www.suse.com/security/cve/CVE-2022-23833.html
  https://www.suse.com/security/cve/CVE-2022-28346.html
  https://www.suse.com/security/cve/CVE-2022-28347.html
  https://www.suse.com/security/cve/CVE-2022-36359.html
  https://www.suse.com/security/cve/CVE-2022-41323.html
  https://bugzilla.suse.com/1185713
  https://bugzilla.suse.com/1186608
  https://bugzilla.suse.com/1186611
  https://bugzilla.suse.com/1193240
  https://bugzilla.suse.com/1194115
  https://bugzilla.suse.com/1194116
  https://bugzilla.suse.com/1194117
  https://bugzilla.suse.com/1195086
  https://bugzilla.suse.com/1195088
  https://bugzilla.suse.com/1198297
  https://bugzilla.suse.com/1198398
  https://bugzilla.suse.com/1198399
  https://bugzilla.suse.com/1201923
  https://bugzilla.suse.com/1203793