Missing Initialization of Resource Affecting python3-libs package, versions <0:3.7.1-9.amzn2.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.63% (80th 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-AMZN2-PYTHON3LIBS-1667548
  • published27 Sept 2021
  • disclosed25 Sept 2018

Introduced: 25 Sep 2018

CVE-2018-14647  (opens in a new tab)
CWE-909  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python3-libs to version 0:3.7.1-9.amzn2.0.1 or higher.
This issue was patched in ALAS2-2018-1132.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-libs package and not the python3-libs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization. This could make it easy to conduct denial of service attacks against Expat by constructing an XML document that would cause pathological hash collisions in Expat's internal data structures, consuming large amounts CPU and RAM. The vulnerability exists in Python versions 3.7.0, 3.6.0 through 3.6.6, 3.5.0 through 3.5.6, 3.4.0 through 3.4.9, 2.7.0 through 2.7.15.

CVSS Scores

version 3.1