← Database

CVE-2007-4998

MEDIUM CVSS: 6.9 Published: 2008-01-31 Modified: 2026-06-16

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.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-59

References