Skip to content
OpenAdvisories
Unscored CVE-2007-4998 EUVD-2007-4979GHSA-4337-x4h9-rx8j

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files v…

Published Jan 31, 2008 · Updated Aug 7, 2024 · Assigned by redhat

Description

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

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 coreutils 4.1.2 —
Debian 13 coreutils 4.1.2 —
Debian 12 coreutils 4.1.2 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kernel 6.6.35.1-4 —
Azure Linux 2 (CBL-Mariner) kernel 5.10.78.1-1 —

References