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

Low Nessus Plugin ID 103720

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 3.6

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: Low

ID: 103720

File Name: gentoo_GLSA-201710-02.nasl

Version: Revision: 3.2

Type: local

Published: 2017/10/09

Updated: 2018/01/26

Dependencies: 12634

Risk Information

Risk Factor: Low

VPR Score: 3.6

CVSS v2.0

Base Score: 2.1

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

CVSS v3.0

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

Reference Information

CVE: CVE-2017-1000249

GLSA: 201710-02