Improper Input Validation Affecting babel package, versions <0:2.5.1-10.module+el8.5.0+11014+88fc0d0b


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.24% (62nd 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-BABEL-2129087
  • 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 babel to version 0:2.5.1-10.module+el8.5.0+11014+88fc0d0b or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream babel package and not the babel 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