CVE-2014-0012

medium

Description

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.

References

https://github.com/mitsuhiko/jinja2/pull/296

https://github.com/mitsuhiko/jinja2/pull/292

https://bugzilla.redhat.com/show_bug.cgi?id=1051421

http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml

http://secunia.com/advisories/60738

http://secunia.com/advisories/56328

http://seclists.org/oss-sec/2014/q1/73

Details

Source: Mitre, NVD

Published: 2014-05-19

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 4.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 5.3

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Severity: Medium