Out-of-bounds read in file - CVE-2018-10360

 

Out-of-bounds read in file - CVE-2018-10360

Published: June 23, 2018 / Updated: June 25, 2018


Vulnerability identifier: #VU13453
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-10360
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists in the do_core_note function in readelf.c in libmagic.a due to an error when processing malicious input. A remote attacker can send a specially crafted crafted ELF file, trigger out-of-bounds read and cause the service to crash.


Affected software

file
Gentoo Linux
Arch Linux
Amazon Linux AMI
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Slackware Linux
Opensuse
Fedora
file (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
file
Data Computing Appliance (DCA)

How to mitigate CVE-2018-10360

Install update from vendor's website.

file (Red Hat package) - addressed in versions 5.11-33.el7_4.1, 5.11-35.el7_6.1, 5.11-35.el7_7.1, 5.11-36.el7
Data Computing Appliance (DCA) - update to 4.3.0.0
file - addressed in versions 5.31-12.fc27, 5.33-6.fc28

External References

Related Security Bulletins