Heap-based Buffer Overflow Affecting file-libs package, versions <0:5.33-20.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (47th 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-RHEL8-FILELIBS-4156090
  • published26 Jul 2021
  • disclosed26 Aug 2019

Introduced: 26 Aug 2019

CVE-2019-18218  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:8 file-libs to version 0:5.33-20.el8 or higher.
This issue was patched in RHSA-2021:4374.

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

cdf_read_property_info in cdf.c in file through 5.37 does not restrict the number of CDF_VECTOR elements, which allows a heap-based buffer overflow (4-byte out-of-bounds write).

CVSS Base Scores

version 3.1