Incorrect Type Conversion or Cast Affecting python38:3.8/python38-attrs package, versions <0:19.3.0-3.module_el8.6.0+2778+cd494b30


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.49% (76th 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-ALMALINUX8-PYTHON38-5652939
  • published28 May 2023
  • disclosed2 Nov 2022

Introduced: 2 Nov 2022

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

How to fix?

Upgrade AlmaLinux:8 python38:3.8/python38-attrs to version 0:19.3.0-3.module_el8.6.0+2778+cd494b30 or higher.
This issue was patched in ALSA-2023:2763.

NVD Description

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

version 3.1