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

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

                               ESB-2021.1153
                     USN-4902-1: Django vulnerability
                               7 April 2021

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

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

Product:           Django
Publisher:         Ubuntu
Operating System:  Ubuntu
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Create Arbitrary Files    -- Remote/Unauthenticated
                   Overwrite Arbitrary Files -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-28658  

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-4902-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-4902-1: Django vulnerability
06 April 2021

Django could be made to overwrite files.
Releases

  o Ubuntu 20.10
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS

Packages

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

Details

Dennis Brinkrolf 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 20.10

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

Ubuntu 20.04

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

Ubuntu 18.04

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

Ubuntu 16.04

  o python3-django - 1.8.7-1ubuntu5.15
  o python-django - 1.8.7-1ubuntu5.15

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

References

  o CVE-2021-28658

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

iQIVAwUBYGz32+NLKJtyKPYoAQj2Rw/+NYwGKzMgTtCLo12o31U/f+e1YYxc+Hpw
XDnlJzgIbAX3S4BZgguBsAqJjsXw/N3f1EJKxzmmf18v2id+x+uKESy+YMxOzEyo
cZCk6Yji0rVIAEzlElj9N8HycmfqluMcmB0sztOKAG4hZ6tHRBzM+oGQgWeHH5Uf
LkFn0PSMfLhmCCJR2LGRJbDYqUnnz6GbUexvW2HH4L1HtGqpxypsJ9rsKRmNPCI5
S48ZeaFa0vzsY03ddKyLLeL+izwp5LKTxaSuBviGaiVvelUVmd2rkSu+JE6kDtl/
ZqHtIQrdr66BEzTswbC6wFV1RYuQosMikEk5sFCzGpx+CjOHHeC8Zf5Let+AqLeg
WB/S+HBJcvMBrtEcxqcIYKbZ1ZLrbnQ75y17y06FJU0s2uEU4jTPp4sYZgQqS4yJ
wX2Igcr46Yho5cJ4ohCb/wb6O2xNiAQwAu2rRgvoY0XprmKKOMQiRA3RkmnMsz7w
B87wspJsxxO7S503UgTxg3A3E6Knxxoa8pj9U5eJv6yRE7xFcmrJTCztTeKebRtT
qnALXivGP/M6eNG1G3T6wUsZcANRZyQIbvvOFtFM18leNxocYyNuFNjG4IdFeyuA
aTcIM6vz/wGlWLGlbzRrXZwk9FJPiZXYBy9Rx00imqc8UGuMNKmKygnPKzxzxGLe
TqlHDfBT00Y=
=jVEF
-----END PGP SIGNATURE-----