[USN-4011-1] Jinja2 vulnerabilities

Marc Deslauriers marc.deslauriers at canonical.com
Thu Jun 6 13:12:16 UTC 2019

Ubuntu Security Notice USN-4011-1
June 06, 2019

jinja2 vulnerabilities

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

- Ubuntu 19.04
- Ubuntu 18.10
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS


Several security issues were fixed in Jinja2.

Software Description:
- jinja2: small but fast and easy to use stand-alone template engine


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.

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

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

  CVE-2016-10745, CVE-2019-10906

Package Information:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20190606/e0621bf1/attachment.sig>

More information about the ubuntu-security-announce mailing list