GLSA-200711-18 : Cpio: Buffer overflow

high Nessus Plugin ID 28218
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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


The remote host is affected by the vulnerability described in GLSA-200711-18 (Cpio: Buffer overflow)

A buffer overflow vulnerability in the safer_name_suffix() function in GNU cpio has been discovered.
Impact :

A remote attacker could entice a user to open a specially crafted archive file resulting in a stack-based buffer overflow, possibly crashing the application. It is disputed whether the execution of arbitrary code is possible.
Workaround :

There is no known workaround at this time.


All GNU cpio users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/cpio-2.9-r1'

See Also

Plugin Details

Severity: High

ID: 28218

File Name: gentoo_GLSA-200711-18.nasl

Version: 1.16

Type: local

Published: 11/15/2007

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Medium

Score: 6.7


Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Temporal Vector: E:POC/RL:OF/RC:C

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/14/2007

Reference Information

CVE: CVE-2007-4476

GLSA: 200711-18

CWE: 119