Resource Exhaustion Affecting python-magic package, versions <0:5.11-31.el7


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
6.36% (94th 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 Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-PYTHONMAGIC-2056380
  • published26 Jul 2021
  • disclosed16 Dec 2014

Introduced: 16 Dec 2014

CVE-2014-8116  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Centos:7 python-magic to version 0:5.11-31.el7 or higher.

NVD Description

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

The ELF parser (readelf.c) in file before 5.21 allows remote attackers to cause a denial of service (CPU consumption or crash) via a large number of (1) program or (2) section headers or (3) invalid capabilities.

CVSS Scores

version 3.1