SQL Injection Affecting python-jinja2 package, versions <0:2.7.2-2.el7sat


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.21% (66th 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-RHEL7-PYTHONJINJA2-5371042
  • published1 Apr 2023
  • disclosed28 Mar 2018

Introduced: 28 Mar 2018

CVE-2018-1096  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade RHEL:7 python-jinja2 to version 0:2.7.2-2.el7sat or higher.
This issue was patched in RHSA-2018:2927.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-jinja2 package and not the python-jinja2 package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

An input sanitization flaw was found in the id field in the dashboard controller of Foreman before 1.16.1. A user could use this flaw to perform an SQL injection attack on the back end database.