Missing Initialization of Resource Affecting python3.5 package, versions <3.5.2-2ubuntu0~16.04.5


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.3% (79th 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-UBUNTU1604-PYTHON35-304693
  • published25 Sept 2018
  • 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 Ubuntu:16.04 python3.5 to version 3.5.2-2ubuntu0~16.04.5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.5 package and not the python3.5 package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 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 Base Scores

version 3.1