GLSA-201710-02 : file: Stack-based buffer overflow

medium Nessus Plugin ID 103720

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-201710-02 (file: Stack-based buffer overflow)

An issue discovered in file allows attackers to write 20 bytes to the stack buffer via a specially crafted .notes section.
Impact :

A remote attacker, by using a specially crafted .notes section in an ELF binary, could execute arbitrary code or cause a Denial of Service condition.
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-5.32'

See Also

https://security.gentoo.org/glsa/201710-02

Plugin Details

Severity: Medium

ID: 103720

File Name: gentoo_GLSA-201710-02.nasl

Version: 3.3

Type: local

Published: 10/9/2017

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 2.1

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

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

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: 10/8/2017

Reference Information

CVE: CVE-2017-1000249

GLSA: 201710-02