-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.1917
                    USN-4975-1: Django vulnerabilities
                                3 June 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Django
Publisher:         Ubuntu
Operating System:  Ubuntu
                   Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Access Confidential Data -- Remote/Unauthenticated      
                   Unauthorised Access      -- Remote/Unauthenticated      
                   Reduced Security         -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-33571 CVE-2021-33203 CVE-2021-32052

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-4975-1

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Ubuntu. It is recommended that administrators 
         running Django check for an updated version of the software for 
         their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-4975-1: Django vulnerabilities
02 June 2021

Several security issues were fixed in Django.
Releases

  o Ubuntu 21.04
  o Ubuntu 20.10
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS

Packages

  o python-django - High-level Python web development framework

Details

It was discovered that the Django URLValidator function incorrectly handled
newlines and tabs. A remote attacker could possibly use this issue to
perform a header injection attack. This issue only affected Ubuntu 20.04
LTS, Ubuntu 20.10, and Ubuntu 21.04. ( CVE-2021-32052 )

Rasmus Lerchedahl Petersen and Rasmus Wriedt Larsen discovered that Django
incorrectly handled path sanitation in admindocs. A remote attacker could
possibly use this issue to determine the existence of arbitrary files and
in certain configurations obtain their contents. ( CVE-2021-33203 )

It was discovered that Django incorrectly handled IPv4 addresses with
leading zeros. A remote attacker could possibly use this issue to perform a
wide variety of attacks, including bypassing certain access restrictions.
( CVE-2021-33571 )

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 21.04

  o python3-django - 2:2.2.20-1ubuntu0.2

Ubuntu 20.10

  o python3-django - 2:2.2.16-1ubuntu0.5

Ubuntu 20.04

  o python3-django - 2:2.2.12-1ubuntu0.7

Ubuntu 18.04

  o python3-django - 1:1.11.11-1ubuntu1.14
  o python-django - 1:1.11.11-1ubuntu1.14

In general, a standard system update will make all the necessary changes.

References

  o CVE-2021-32052
  o CVE-2021-33571
  o CVE-2021-33203

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYLhfEONLKJtyKPYoAQhziQ/9H4GwXmS2y9ytX7MxRwyCggrVs4yv7zaD
SuzmK0HJZftneuifB5ftbe3Xk4gyd7/QopaOzRi3yJn0md+towREdCQIzO3RX42V
Ko7JqIbZA9YutPQg5F5kHhn26A43eMEp+oMZ83af1qlLCqmaehNYRLS3OxfGDULX
90JdSwVNodmtgytthqK+rc1bD11wzaIou/bZVx44V0k/GiYsIRKswJ1CxxvyUgZd
+biQ5JM96t8Z+Uwiz94XPODo6K5zIW/nL2ItNBcMgsXGzEFgb2oMZKUt6vRmUREF
WMJaUx9hInTP9B4lwPfaORTvIGctY4nftTnoMADAIgLEjrU+ss05VlYGTr6HAcck
iAf2jFmGLdoXgt8yq3wWA/BwDujrBqhpfwbcnolnfycNifyPFxroCLegtEWun8DY
QVIRBt9y/vDyH45A6Zf3+T1T+JihY7g/b/2dY9gGFZVk8L6CQNRh3oBksW/WIK9x
1z9wjrQwuQFA9Y6HUPPxuYUMUQt3R9yOlC4K9JmPgau235+q9qV8nrwcvgdTadkh
CQEVmLwgD8zKA0BzS0mctPEQE8gFOR7KgR3r2E7ildmI5v5WXXIJ6px9AzwclohU
z5eS7Gn7kvxy2DVZ6MZS+96grW1WMxO+PAMtK9SWKnYqKIOiikO+Y6OxhfX22L/m
GFhW4kmi02E=
=uxsZ
-----END PGP SIGNATURE-----