Improper Input Validation Affecting python-magic package, versions <0:5.04-30.el6


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
4.65% (91st 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-ORACLE6-PYTHONMAGIC-2505830
  • published10 Apr 2022
  • disclosed30 Mar 2015

Introduced: 30 Mar 2015

CVE-2014-9653  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Oracle:6 python-magic to version 0:5.04-30.el6 or higher.
This issue was patched in ELSA-2016-0760.

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 Oracle. See How to fix? for Oracle:6 relevant fixed versions and status.

readelf.c in file before 5.22, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does not consider that pread calls sometimes read only a subset of the available data, which allows remote attackers to cause a denial of service (uninitialized memory access) or possibly have unspecified other impact via a crafted ELF file.

CVSS Base Scores

version 3.1