CVE-2019-8341

python-jinja2: command injection in function from_string

Published Feb 15, 2019 CVSS 3.1 · 9.8 Critical EPSS 43.9% KEV · Not listed
Description
An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics threat_severity

None

threat_severity

Important

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 9:17 PM
Reserved
Feb 15, 2019, 12:00 AM
Status
Modified
Published
Feb 15, 2019, 7:29 AM
Modified
Jun 17, 2026, 2:41 AM
Severity
Important
Public date
Feb 14, 2019, 12:00 AM