-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2014.0956
                  Moderate: python-jinja2 security update
                               12 June 2014

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

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

Product:           python-jinja2, python33-python-jinja2 and python27-python-jinja2
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
                   Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2014-1402  

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2014-0747.html
   https://rhn.redhat.com/errata/RHSA-2014-0748.html

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

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: python-jinja2 security update
Advisory ID:       RHSA-2014:0747-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2014-0747.html
Issue date:        2014-06-11
CVE Names:         CVE-2014-1402 
=====================================================================

1. Summary:

Updated python-jinja2 packages that fix one security issue are now
available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having Moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

3. Description:

Jinja2 is a template engine written in pure Python. It provides a
Django-inspired, non-XML syntax but supports inline expressions and an
optional sandboxed environment.

It was discovered that Jinja2 did not properly handle bytecode cache files
stored in the system's temporary directory. A local attacker could use this
flaw to alter the output of an application using Jinja2 and
FileSystemBytecodeCache, and potentially execute arbitrary code with the
privileges of that application. (CVE-2014-1402)

All python-jinja2 users are advised to upgrade to these updated packages,
which contain a backported patch to correct this issue. For the update to
take effect, all applications using python-jinja2 must be restarted.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the
Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1051421 - CVE-2014-1402 python-jinja2: FileSystemBytecodeCache insecure cache temporary file use

6. Package List:

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
python-jinja2-2.2.1-2.el6_5.src.rpm

i386:
python-jinja2-2.2.1-2.el6_5.i686.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.i686.rpm

x86_64:
python-jinja2-2.2.1-2.el6_5.x86_64.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
python-jinja2-2.2.1-2.el6_5.src.rpm

x86_64:
python-jinja2-2.2.1-2.el6_5.x86_64.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 6):

Source:
python-jinja2-2.2.1-2.el6_5.src.rpm

i386:
python-jinja2-2.2.1-2.el6_5.i686.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.i686.rpm

ppc64:
python-jinja2-2.2.1-2.el6_5.ppc64.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.ppc64.rpm

s390x:
python-jinja2-2.2.1-2.el6_5.s390x.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.s390x.rpm

x86_64:
python-jinja2-2.2.1-2.el6_5.x86_64.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 6):

Source:
python-jinja2-2.2.1-2.el6_5.src.rpm

i386:
python-jinja2-2.2.1-2.el6_5.i686.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.i686.rpm

x86_64:
python-jinja2-2.2.1-2.el6_5.x86_64.rpm
python-jinja2-debuginfo-2.2.1-2.el6_5.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2014-1402.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2014 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFTmJGgXlSAg2UNWIIRAgUUAJ9Ro6FKlq64ipZ+URxLpY1mCAJbsACbBWmY
9xN/ecw+MV7/KoWCTzVWXD0=
=dVND
- -----END PGP SIGNATURE-----

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: python33-python-jinja2 and python27-python-jinja2 security update
Advisory ID:       RHSA-2014:0748-01
Product:           Red Hat Software Collections
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2014-0748.html
Issue date:        2014-06-11
CVE Names:         CVE-2014-1402 
=====================================================================

1. Summary:

Updated python33-python-jinja2 and python27-python-jinja2 packages that fix
one security issue are now available for Red Hat Software Collections 1.

The Red Hat Security Response Team has rated this update as having Moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) - noarch
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) - noarch
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.3) - noarch
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) - noarch
Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) - noarch
Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) - noarch

3. Description:

Jinja2 is a template engine written in pure Python. It provides a
Django-inspired, non-XML syntax but supports inline expressions and an
optional sandboxed environment.

It was discovered that Jinja2 did not properly handle bytecode cache files
stored in the system's temporary directory. A local attacker could use this
flaw to alter the output of an application using Jinja2 and
FileSystemBytecodeCache, and potentially execute arbitrary code with the
privileges of that application. (CVE-2014-1402)

All Jinja2 users are advised to upgrade to these updated packages, which
contain a backported patch to correct this issue. For the update to take
effect, all applications using Jinja2 must be restarted.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the
Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1051421 - CVE-2014-1402 python-jinja2: FileSystemBytecodeCache insecure cache temporary file use

6. Package List:

Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6):

Source:
python27-python-jinja2-2.6-10.el6.src.rpm
python33-python-jinja2-2.6-11.el6.src.rpm

noarch:
python27-python-jinja2-2.6-10.el6.noarch.rpm
python33-python-jinja2-2.6-11.el6.noarch.rpm

Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.3):

Source:
python27-python-jinja2-2.6-10.el6.src.rpm
python33-python-jinja2-2.6-11.el6.src.rpm

noarch:
python27-python-jinja2-2.6-10.el6.noarch.rpm
python33-python-jinja2-2.6-11.el6.noarch.rpm

Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4):

Source:
python27-python-jinja2-2.6-10.el6.src.rpm
python33-python-jinja2-2.6-11.el6.src.rpm

noarch:
python27-python-jinja2-2.6-10.el6.noarch.rpm
python33-python-jinja2-2.6-11.el6.noarch.rpm

Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6):

Source:
python27-python-jinja2-2.6-10.el6.src.rpm
python33-python-jinja2-2.6-11.el6.src.rpm

noarch:
python27-python-jinja2-2.6-10.el6.noarch.rpm
python33-python-jinja2-2.6-11.el6.noarch.rpm

Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7):

Source:
python27-python-jinja2-2.6-11.el7.src.rpm
python33-python-jinja2-2.6-12.el7.src.rpm

noarch:
python27-python-jinja2-2.6-11.el7.noarch.rpm
python33-python-jinja2-2.6-12.el7.noarch.rpm

Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7):

Source:
python27-python-jinja2-2.6-11.el7.src.rpm
python33-python-jinja2-2.6-12.el7.src.rpm

noarch:
python27-python-jinja2-2.6-11.el7.noarch.rpm
python33-python-jinja2-2.6-12.el7.noarch.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2014-1402.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2014 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFTmJG4XlSAg2UNWIIRAuqQAKDB5DtJx9/169MKon0kkNKrz0OGVgCfcCV4
NRfz9D5UrWuj05b4GJL7rA4=
=0knn
- -----END PGP SIGNATURE-----

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

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBU5jrgxLndAQH1ShLAQIB5Q/+KE5s48vhQ6dhZ0lwh8sYiM6N4uERqphl
4BKXD9P8k2CYXKXsyb92swjp2rVu2yo3IaPlDwqs0O4rBUFDVxCN5C+c/5Lsb1SJ
nzPbds+VFVfiokNIUDQFt987XW/tiNb9v2Z2S1gzzvj+guwmqnR+GjQ03pBfgE4/
pu6B/6lTHqC54l521ExJx/D7+aAFJnE9cj8SAjasuQhDz5zQhJZMv5kGMJU5i9oF
oZqNhtm/EFLGMyOaZ0EVltXn7U122gu6NGJZLINPYWFjk9RRSKmGgote7kwcK7zB
9/aA05g4ctzG8G7GPMfYgutWQRErkW0O4it4qs2WLV/Zhe/XC45jQTGeolgMQBrf
R8WpiWGJOmNTIsI2n2Jacg2lp8NwEgj6PZVhhB0Ki5W4u/4oCxL2QIwsL01VPPRs
0v7tAfNFIpfCH99A5h623/RdN1cLXzYjq/8OtLsO87v1LQ4Dxpqlg5c5whm4nqyb
0Xiupsk6iq2eFK03r7taBXatY2QEN7XDHG0GmVfYuxAyL4dhyQ2VqZ4gnqULZhx6
gCmMXrcuE+g1tub0gx5/AMbvfTAG9UySPOvprGRWOhPuiGEebMGyYDhjD2TW8m+K
H0xdK0sRO5+1++iASOKUD0tqzGTsga9+hyvukXOeD3n3YQsVBmAYjBSlbR8+L4Kz
rnpFAHMVLgs=
=EhZ9
-----END PGP SIGNATURE-----