Improper Neutralization of Special Elements Affecting python3-jinja2 package, versions <0:2.7.2-4.amzn2.0.5


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.29% (70th 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-PYTHON3JINJA2-7364800
  • published25 Jun 2024
  • disclosed7 Apr 2019

Introduced: 7 Apr 2019

CVE-2019-10906  (opens in a new tab)
CWE-138  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python3-jinja2 to version 0:2.7.2-4.amzn2.0.5 or higher.
This issue was patched in ALAS2-2024-2582.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-jinja2 package and not the python3-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.10.1, str.format_map allows a sandbox escape.

References

CVSS Scores

version 3.1