FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user's uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2014-0012 from the MITRE CVE dictionary dictionary and NIST NVD.
Not vulnerable. This issue did not affect the versions of python-jinja2 as shipped with Red Hat Enterprise Linux 6 as it did not include the patch that introduced this flaw.
NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.
Base Score | 4.4 |
---|---|
Base Metrics | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Access Vector | Local |
Access Complexity | Medium |
Authentication | None |
Confidentiality Impact | Partial |
Integrity Impact | Partial |
Availability Impact | Partial |
Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).
Platform | Package | State |
---|---|---|
Red Hat Software Collections 1 for Red Hat Enterprise Linux | python27-python-jinja2 | Not affected |
Red Hat Software Collections 1 for Red Hat Enterprise Linux | python33-python-jinja2 | Not affected |
Red Hat Enterprise Linux OpenStack Platform 4.0 | python-jinja2-26 | Not affected |
Red Hat Enterprise Linux 7 | python-jinja2 | Not affected |
Red Hat Enterprise Linux 6 | python-jinja2 | Not affected |