Skip to content
OpenAdvisories
Unscored CVE-1999-1572 EUVD-1999-1553GHSA-j8q5-qf4r-w33w

cpio on FreeBSD 2.1.0, Debian GNU/Linux 3.0, and possibly other operating systems, uses a 0 umask when creating files using the -O (archive…

Published Jan 29, 2005 · Updated Aug 1, 2024 · Assigned by mitre

Description

cpio on FreeBSD 2.1.0, Debian GNU/Linux 3.0, and possibly other operating systems, uses a 0 umask when creating files using the -O (archive) or -F options, which creates the files with mode 0666 and allows local users to read or overwrite those files.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cpio 2.5-1.2 —
Debian 13 cpio 2.5-1.2 —
Debian 12 cpio 2.5-1.2 —
Debian 3.0 cpio 2.4.2-39woody1 DSA-664-1
ReleasePackageFixed inAdvisory
RHEL 4 cpio 2.5-7.EL4.1 RHSA-2005:073
RHEL 3 cpio 2.5-3e.3 RHSA-2005:080

Advisories 3

References