Missing Initialization of Resource Affecting python package, versions [2.7.0,2.7.16)[3.4.0,3.4.10)[3.5.0,3.5.7)[3.6.0,3.6.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (77th 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 Missing Initialization of Resource vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PYTHON-2317648
  • published14 Dec 2021
  • disclosed25 Sept 2018
  • creditUnknown

Introduced: 25 Sep 2018

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

How to fix?

Upgrade python to version 2.7.16, 3.4.10, 3.5.7, 3.6.7 or higher.

Overview

Affected versions of this package are vulnerable to Missing Initialization of Resource. 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.

CVSS Scores

version 3.1