Permissions, Privileges, and Access Controls in Jinja - CVE-2019-10906

 

Permissions, Privileges, and Access Controls in Jinja - CVE-2019-10906

Published: October 14, 2019


Vulnerability identifier: #VU21765
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-10906
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to the "str.format_map" allows a sandbox escape. A remote attacker can bypass implemented security restrictions.


Affected software

Jinja
Fedora
Red Hat Enterprise Linux for x86_64
rh-python35-python-jinja2 (Red Hat package)
python3-jinja2
rh-python36-python-jinja2 (Red Hat package)
python-jinja2

How to mitigate CVE-2019-10906

Install updates from vendor's website.

Jinja - update to 2.10.1
rh-python35-python-jinja2 (Red Hat package) - addressed in versions 2.8.1-2.el6, 2.8.1-2.el7
python3-jinja2 - addressed in versions 2.8.1-2.el6, 2.8.1-2.el7
rh-python36-python-jinja2 (Red Hat package) - addressed in versions 2.9.6-3.el6, 2.9.6-3.el7
python-jinja2 - addressed in versions 2.10.1-1.fc28, 2.10.1-1.fc29, 2.10.1-1.fc30

External References

Related Security Bulletins