Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683038 (CVE-2016-10745) - <dev-python/jinja-2.8.1: Sandbox escape due to information disclosure via str.format
Summary: <dev-python/jinja-2.8.1: Sandbox escape due to information disclosure via str...
Status: RESOLVED FIXED
Alias: CVE-2016-10745
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: B3 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 15:21 UTC by Agostino Sarubbo
Modified: 2019-04-19 02:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2019-04-10 15:21:48 UTC
From ${URL} :

In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.

The core of the issue is that Python's string format method that was added to strings can be used to discover potentially dangerous values 
including configuration values.

References:
https://nvd.nist.gov/vuln/detail/CVE-2016-10745
https://palletsprojects.com/blog/jinja-281-released/
https://github.com/pallets/jinja/commit/9b53045c34e61013dc8f09b7e52a555fa16bed16



@security: please check if this issue needs a GLSA.
Comment 1 Yury German Gentoo Infrastructure gentoo-dev 2019-04-19 02:08:07 UTC
Vulnerable Version not in Tree