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

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

                               ESB-2021.1522
                     USN-4932-1: Django vulnerability
                                5 May 2021

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

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

Product:           python-django
Publisher:         Ubuntu
Operating System:  Ubuntu
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Access Confidential Data  -- Existing Account
                   Create Arbitrary Files    -- Existing Account
                   Overwrite Arbitrary Files -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-31542  

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

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

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

USN-4932-1: Django vulnerability
04 May 2021

Django could be made to overwrite files.
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 Django incorrectly handled certain
filenames. A remote attacker could possibly use this issue to create or
overwrite files in unexpected directories.

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.1

Ubuntu 20.10

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

Ubuntu 20.04

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

Ubuntu 18.04

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

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

References

  o CVE-2021-31542

- --------------------------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

iQIVAwUBYJHyq+NLKJtyKPYoAQi2xw//fsc+1M8sUWQL5bTy3hl7xRFFHlItt+x5
z/o0M9Fqbpah3YNu88a2/4vS+uHQlFys3P5Vz5Uxre2IGoS51LuksFmxZkIOcpSc
sDFPWXq4bd2ywP8haRTYx+YjeSpdIdMcSbYBCHyKlKMRqzpGTQDStUgnGFXdP7KY
WHGDZGwwYBafPBHunQL7Apo4YqJmq/7TyJDHdFm4d29TFR408j8oFZR6H14l4p8j
Qw6dUU6glM1MatqZv5s6GPzhAgHojyUiTfoLG9BPfGoEZZX3PWa6CSVmc8MZ1MK8
dgRZC5WaYxiJ74bAgOx9tQ3nH0Euu8MHx9a5c0dVoy6WoD+WcsfgfhyVmP+7Ym7N
MD+o1ncu45S7Snb7TYymcFT/TjH6aEk9aovEn00Dzozkduhz/9+ZqNadNnuYl7eu
WGyVzvzE2Q3GEb9GdiccOt96Xq85si31RKomuHWlgJUOGIEp+T3IP11wc8WwA6C7
82Kml6xlsMX/14MnXwshB7fubro1DCsVXMCDTy0owOYJ0bK3WX/hT5VqhzdUwrmW
Gd6vE4KJ6buiGu6UFHScE29z1o1eD1a30zWwUMZiID/zcuvZQW2CdllmDr6yYztH
qPj1dlQHXdgeX5hhd9mAFHwnbA5OY9QQY+ohSl+gUF3gyOrIVFLrxeQOj5OQrurD
U1aitaVx+I8=
=JX53
-----END PGP SIGNATURE-----