Arbitrary Code Injection Affecting python-jinja2 package, versions <0:2.10-8.module+el8.4.0+403+9ae17a31


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.14% (51st 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-ROCKY8-PYTHONJINJA2-3290823
  • published5 Jan 2023
  • disclosed27 Sept 2020

Introduced: 27 Sep 2020

CVE-2020-26116  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 python-jinja2 to version 0:2.10-8.module+el8.4.0+403+9ae17a31 or higher.
This issue was patched in RLSA-2021:1761.

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 Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request.

References

CVSS Scores

version 3.1