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

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

                               ESB-2019.2041
                    USN-4011-1: Jinja2 vulnerabilities
                                7 June 2019

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

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

Product:           Jinja2
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Increased Privileges -- Existing Account
                   Unauthorised Access  -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-10906 CVE-2016-10745 

Reference:         ESB-2019.1609
                   ESB-2019.1578

Original Bulletin: 
   https://usn.ubuntu.com/4011-1/
   https://usn.ubuntu.com/4011-2/

Comment: This bulletin contains two (2) Ubuntu security advisories.

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

USN-4011-1: Jinja2 vulnerabilities
6 June 2019

jinja2 vulnerabilities
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 19.04
  o Ubuntu 18.10
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS

Summary

Several security issues were fixed in Jinja2.

Software Description

  o jinja2 - small but fast and easy to use stand-alone template engine

Details

Olivier Dony discovered that Jinja incorrectly handled str.format. An attacker
could possibly use this issue to escape the sandbox. This issue only affected
Ubuntu 16.04 LTS. (CVE-2016-10745)

Brian Welch discovered that Jinja incorrectly handled str.format_map. An
attacker could possibly use this issue to escape the sandbox. (CVE-2019-10906)

Update instructions

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

Ubuntu 19.04
    python-jinja2 - 2.10-1ubuntu0.19.04.1
    python3-jinja2 - 2.10-1ubuntu0.19.04.1
Ubuntu 18.10
    python-jinja2 - 2.10-1ubuntu0.18.10.1
    python3-jinja2 - 2.10-1ubuntu0.18.10.1
Ubuntu 18.04 LTS
    python-jinja2 - 2.10-1ubuntu0.18.04.1
    python3-jinja2 - 2.10-1ubuntu0.18.04.1
Ubuntu 16.04 LTS
    python-jinja2 - 2.8-1ubuntu0.1
    python3-jinja2 - 2.8-1ubuntu0.1

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

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

References

  o CVE-2016-10745
  o CVE-2019-10906

- --------------------------------------------------------------------------------

USN-4011-2: Jinja2 vulnerabilities
6 June 2019

jinja2 vulnerabilities
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 14.04 ESM
  o Ubuntu 12.04 ESM

Summary

Several security issues were fixed in Jinja2.

Software Description

  o jinja2 - small but fast and easy to use stand-alone template engine

Details

USN-4011-1 fixed several vulnerabilities in Jinja2. This update provides the
corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.

Original advisory details:

Olivier Dony discovered that Jinja incorrectly handled str.format. An attacker
could possibly use this issue to escape the sandbox. (CVE-2016-10745)

Brian Welch discovered that Jinja incorrectly handled str.format_map. An
attacker could possibly use this issue to escape the sandbox. (CVE-2019-10906)

Update instructions

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

Ubuntu 14.04 ESM
    python-jinja2 - 2.7.2-2ubuntu0.1~esm1
    python3-jinja2 - 2.7.2-2ubuntu0.1~esm1
Ubuntu 12.04 ESM
    python-jinja2 - 2.6-1ubuntu0.2
    python3-jinja2 - 2.6-1ubuntu0.2

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

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

References

  o USN-4011-1
  o CVE-2016-10745
  o CVE-2019-10906

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

iQIVAwUBXPm/WmaOgq3Tt24GAQgRxw/+LOBxctdLNaAnn7pPexOplV6mru62jtXN
v2j/CbecttOPaSiC7oeNJdhH8DgyhSeR1di4bRJqZxB6d5nqsRFuFIVCasGyQHwz
bT76dD06WN0hPLxFLaWxxa4jPiTpyndhART7wKVBDk6qPvgAspjo07Vq+XGJ5ezT
yBW9T1Zt6/CX1NoNH5vkSzJcBm1roplrAOh13s4rtVrSaHShmjznI++Ftv/4XRm3
tfHeN6iS4dZ1uPV1bPRm/mmiRgXKg71mEKH9hdr3tmmvBSciRxCxTK5Qi9LnXZlH
q0yHMICjR5fW7rjYuOKDZLDrXGa8GJdrVe+h02bWb2vtYgKit8yvIRjPsz9I/Shk
SjigKAIKyJF/Yfbi16v86sx0l3sL1OTDBlwzVcc+5hhA6Lpu8fLeY0Ny5alsltvK
K7qaIzyNRExUT4y6rpQn3kb/90Q0KX62zlsectDV7YyfG7AZOXyQ1e+Z5Us7GxDW
ZXoaBmyzAsEvXuPdl3dtp8cIoE8xvLxrzGlqnslsGGeU2ED41wzbnPP575weICu2
XZOWnNKBV/lTEYkwBPIp7LSD1QvxAwJzKk3zSsjgvhJi8LoKC6Z9J9i1x3pUrBER
Jf/MatjEpPGp7eCd8oB4SdTb+19Llh+HLier+XI+QiOExTPE2jI6KbKZpEfq61l/
l/stLoLEosU=
=CRTD
-----END PGP SIGNATURE-----