Improper Input Validation Affecting python38-mod_wsgi package, versions <0:4.6.8-3.module+el8.4.0+8888+89bc7e79


Severity

Recommended
medium

Based on CentOS 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-CENTOS8-PYTHON38MODWSGI-2131327
  • 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 Centos:8 python38-mod_wsgi to version 0:4.6.8-3.module+el8.4.0+8888+89bc7e79 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python38-mod_wsgi package and not the python38-mod_wsgi package as distributed by Centos. See How to fix? for Centos: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