CVE-2007-4998

cp symlink overwrite

Published Jan 31, 2008 CVSS 2.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2007-4979 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 7, 2024, 3:17 PM
Reserved
Sep 20, 2007, 12:00 AM
Status
Modified
Published
Jan 31, 2008, 9:00 PM
Modified
Jun 16, 2026, 10:45 PM
Severity
Low
Public date
Jan 22, 2008, 12:00 AM