DEBIAN-CVE-2019-8341

Source
https://security-tracker.debian.org/tracker/CVE-2019-8341
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-8341.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2019-8341
Upstream
Published
2019-02-15T07:29:00Z
Modified
2025-09-25T07:51:22.083152Z
Summary
[none]
Details

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

References

Affected packages

Debian:11 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.11.3-1
2.11.3-1+deb11u1
2.11.3-1+deb11u2
2.11.3-1+deb11u3
2.11.3-1+deb11u4

3.*

3.0.1-1
3.0.1-2
3.0.3-1~bpo11+1
3.0.3-1
3.0.3-2
3.1.2-1
3.1.3-1
3.1.3-1.1
3.1.3-2
3.1.5-1
3.1.5-2
3.1.6-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.1.2-1
3.1.2-1+deb12u1
3.1.2-1+deb12u2
3.1.2-1+deb12u3
3.1.3-1
3.1.3-1.1
3.1.3-2
3.1.5-1
3.1.5-2
3.1.6-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.1.6-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:14 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.1.6-1

Ecosystem specific

{
    "urgency": "unimportant"
}