Use of Externally-Controlled Format String Affecting python-jinja2 package, versions <0:2.7.2-3.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.49% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-PYTHONJINJA2-1670930
  • published27 Sept 2021
  • disclosed8 Apr 2019

Introduced: 8 Apr 2019

CVE-2016-10745  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-jinja2 to version 0:2.7.2-3.amzn2 or higher.
This issue was patched in ALAS2-2019-1223.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-jinja2 package and not the python-jinja2 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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