file: heap-based buffer overflow in cdf_read_property_info in cdf.c (CVE-2019-18218)
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).
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-18218
- https://security-tracker.debian.org/tracker/CVE-2019-18218
Patch:
https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84
Affected branches:
-
master -
3.10-stable -
3.9-stable -
3.8-stable -
3.7-stable
Edited by Kevin Daudt