CVEvulnerability

CVE-2019-8341

9.8 CRITICAL Published 2019-02-15 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-02-15
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-94

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

Affected configurations

• pocoo jinja2 2.10 • opensuse leap 15.0 • opensuse leap 42.3

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References