VULNERABILITY INTELLIGENCE
CVE-2007-4998
CVSS score6.9 MEDIUM
EPSS probability0.35%
CISA KEVNot currently listed
Published2008-01-31
Last modified2026-06-16
CVSS vectorAV:L/AC:M/Au:N/C:C/I:C/A:C
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.
Weakness classification
- CWE-59: Improper Link Resolution Before File Access ('Link Following')