Ubuntu 4.10 / 5.04 / 5.10 : cpio vulnerability (USN-234-1)

Low Nessus Plugin ID 20778

Synopsis

The remote Ubuntu host is missing a security-related patch.

Description

Richard Harms discovered that cpio did not sufficiently validate file properties when creating archives. Files with e. g. a very large size caused a buffer overflow. By tricking a user or an automatic backup system into putting a specially crafted file into a cpio archive, a local attacker could probably exploit this to execute arbitrary code with the privileges of the target user (which is likely root in an automatic backup system).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected cpio package.

Plugin Details

Severity: Low

ID: 20778

File Name: ubuntu_USN-234-1.nasl

Version: 1.14

Type: local

Agent: unix

Published: 2006/01/21

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Low

CVSS v2.0

Base Score: 3.7

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:cpio, cpe:/o:canonical:ubuntu_linux:4.10, cpe:/o:canonical:ubuntu_linux:5.04, cpe:/o:canonical:ubuntu_linux:5.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2006/01/02

Reference Information

CVE: CVE-2005-4268

USN: 234-1

CWE: 119