GLSA-200703-26 : file: Integer underflow

high Nessus Plugin ID 24931

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-200703-26 (file: Integer underflow)

Jean-Sebastien Guay-Leroux reported an integer underflow in file_printf function.
Impact :

A remote attacker could entice a user to run the 'file' program on a specially crafted file that would trigger a heap-based buffer overflow possibly leading to the execution of arbitrary code with the rights of the user running 'file'. Note that this vulnerability could be also triggered through an automatic file scanner like amavisd-new.
Workaround :

There is no known workaround at this time.

Solution

Since file is a system package, all Gentoo users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-apps/file-4.20'

See Also

https://security.gentoo.org/glsa/200703-26

Plugin Details

Severity: High

ID: 24931

File Name: gentoo_GLSA-200703-26.nasl

Version: 1.14

Type: local

Published: 4/5/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/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: 3/30/2007

Vulnerability Publication Date: 2/8/2007

Reference Information

CVE: CVE-2007-1536

GLSA: 200703-26