Out-of-bounds Read Affecting file-libs package, versions <0:5.04-30.el6


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 6.04% (94th percentile)
Expand this section
NVD
7.3 high
Expand this section
Red Hat
4.4 medium

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 ID SNYK-CENTOS6-FILELIBS-2131411
  • published 26 Jul 2021
  • disclosed 16 Dec 2014

How to fix?

Upgrade Centos:6 file-libs to version 0:5.04-30.el6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream file-libs package and not the file-libs package as distributed by Centos. See How to fix? for Centos: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.