---
title: 'USN-2301-1: Jinja2 vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-2301-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-2301-1

---

# USN-2301-1: Jinja2 vulnerabilities

Publication date

24 July 2014

Overview

A security issue was fixed in Jinja2.

Releases

[12.04](https://ubuntu.com/security/notices?release=precise)

---

Open side navigation

## Packages

* [jinja2](https://ubuntu.com/security/cves?package=jinja2) - small but fast and easy to use stand-alone template engine

## Details

It was discovered that Jinja2 incorrectly handled temporary cache files and
directories. A local attacker could use this issue to possibly gain
privileges.

## Update instructions

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

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

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

| Ubuntu Release | Package Version |
| --- | --- |
| 12.04 precise | [python-jinja2](https://launchpad.net/ubuntu/+source/jinja2) –  [2.6-1ubuntu0.1](https://launchpad.net/ubuntu/+source/jinja2/2.6-1ubuntu0.1) | | |
| [python3-jinja2](https://launchpad.net/ubuntu/+source/jinja2) –  [2.6-1ubuntu0.1](https://launchpad.net/ubuntu/+source/jinja2/2.6-1ubuntu0.1) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2014-1402](https://ubuntu.com/security/CVE-2014-1402)
* [CVE-2014-0012](https://ubuntu.com/security/CVE-2014-0012)
