Improper Input Validation Affecting python27:2.7/python2-pip-wheel package, versions <0:9.0.3-18.module+el8.3.0+7707+eb4bba01


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (59th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-PYTHON27-4171528
  • published26 Jul 2021
  • disclosed1 Feb 2021

Introduced: 1 Feb 2021

CVE-2020-28493  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade RHEL:8 python27:2.7/python2-pip-wheel to version 0:9.0.3-18.module+el8.3.0+7707+eb4bba01 or higher.
This issue was patched in RHSA-2021:4151.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python27:2.7/python2-pip-wheel package and not the python27:2.7/python2-pip-wheel package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the _punctuation_re regex operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.

CVSS Scores

version 3.1