{"schema_version":"1.7.3","id":"GHSA-hj2j-77xm-mc5v","published":"2019-04-10T14:30:13Z","modified":"2024-09-24T21:04:16.963502Z","aliases":["CVE-2016-10745","PYSEC-2019-220"],"summary":"Jinja2 sandbox escape vulnerability","details":"In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.","affected":[{"package":{"name":"jinja2","ecosystem":"PyPI","purl":"pkg:pypi/jinja2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1"}]}],"versions":["2.0","2.0rc1","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","2.7.2","2.7.3","2.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/04/GHSA-hj2j-77xm-mc5v/GHSA-hj2j-77xm-mc5v.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10745"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/9b53045c34e61013dc8f09b7e52a555fa16bed16"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1022"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1260"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3964"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:4062"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hj2j-77xm-mc5v"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2019-220.yaml"},{"type":"WEB","url":"https://palletsprojects.com/blog/jinja-281-released"},{"type":"WEB","url":"https://usn.ubuntu.com/4011-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4011-2"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html"}],"database_specific":{"cwe_ids":["CWE-134"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:40:24Z","nvd_published_at":null,"severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"}]}