6.9med
CVE-2007-4998
cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files v…
Published 18 y ago · modified 4 mo ago · JSON
CVSS
6.9
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.3%
percentile 28%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
0.35% probability of exploitation in the next 30 days, higher than 28% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
- CWE-59 Improper Link Resolution Before File Access
- Technology feeds
- Linux kernel (RSS, critical only)
References
- issues.rpath.com /browse/RPL-2023 · x_refsource_CONFIRM, x_transferred
- bugzilla.redhat.com /show_bug.cgi?id=356471 · x_refsource_CONFIRM, x_transferred
- osvdb.org /43228 · vdb-entry, x_refsource_OSVDB, x_transferred
Sources
- CVE List: CVE-2007-4998
- NVD: CVE-2007-4998
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.