PT-2019-5197 · File Utility+2 · File+2

Francisco Alonso

·

Published

2019-01-02

·

Updated

2021-12-09

·

CVE-2019-8906

CVSS v2.0

9.3

High

VectorAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions File version 5.35
Description The issue is related to an out-of-bounds read in the do core note function of the File utility, specifically in the readelf.c file within libmagic.a. This can lead to a denial of service. The problem arises from the misuse of memcpy, causing the function to read data beyond the boundaries of a buffer in memory.
Recommendations For File version 5.35, consider restricting access to the do core note function until a patch is available. As a temporary workaround, avoid using the File utility for determining file types from untrusted sources. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2020-01885
CVE-2019-8906
OPENSUSE-SU-2019:0345-1
OPENSUSE-SU-2019_0345-1
OPENSUSE-SU-2019_1197-1
SUSE-SU-2019:0571-1
SUSE-SU-2019:0839-1
USN-3911-1
USN-3911-2

Affected Products

File
Suse
Ubuntu