GLSA-200412-07 : file: Arbitrary code execution

critical Nessus Plugin ID 15954

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200412-07 (file: Arbitrary code execution)

A possible stack overflow has been found in the ELF header parsing code of file.
Impact :

An attacker may be able to create a specially crafted ELF file which, when processed with file, may allow the execution of arbitrary code.
Workaround :

There is no known workaround at this time.

Solution

All file users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-apps/file-4.12'

See Also

https://securitytracker.com/id?1012433

https://security.gentoo.org/glsa/200412-07

Plugin Details

Severity: Critical

ID: 15954

File Name: gentoo_GLSA-200412-07.nasl

Version: 1.17

Type: local

Published: 12/14/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:file, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 12/13/2004

Reference Information

CVE: CVE-2004-1304

GLSA: 200412-07