Out-of-bounds Write Affecting file-libs package, versions <0:5.11-35.amzn2.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.85% (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 IDSNYK-AMZN2-FILELIBS-1677106
  • published27 Sept 2021
  • disclosed21 Oct 2019

Introduced: 21 Oct 2019

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

How to fix?

Upgrade Amazon-Linux:2 file-libs to version 0:5.11-35.amzn2.0.2 or higher.
This issue was patched in ALAS2-2019-1370.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2 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