GHSA-fqh9-2qgg-h84h

Suggest an improvement
Source
https://github.com/advisories/GHSA-fqh9-2qgg-h84h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fqh9-2qgg-h84h/GHSA-fqh9-2qgg-h84h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fqh9-2qgg-h84h
Aliases
Published
2022-05-17T04:01:00Z
Modified
2023-11-08T03:57:29.971954Z
Summary
Insecure Temporary File in Jinja2
Details

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

Affected packages

PyPI / jinja2

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.2

Affected versions

2.*

2.0rc1
2.0
2.1
2.1.1
2.2
2.2.1
2.3
2.3.1
2.4
2.4.1
2.5
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.6
2.7
2.7.1