Incorrect Type Conversion or Cast Affecting python38-babel package, versions <0:2.7.0-11.module+el8.5.0+11015+9c1c7c42


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.36% (58th 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-CENTOS8-PYTHON38BABEL-3016955
  • published5 Sept 2022
  • disclosed2 Sept 2022

Introduced: 2 Sep 2022

CVE-2020-10735  (opens in a new tab)
CWE-704  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Centos:8 python38-babel to version 0:2.7.0-11.module+el8.5.0+11015+9c1c7c42 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python38-babel package and not the python38-babel package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int("text"), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected). The highest threat from this vulnerability is to system availability.

References

CVSS Base Scores

version 3.1