cp symlink overwrite
Published Jan 31, 2008
6.9
MEDIUMCVSS 2.0
EPSS 0.35%
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 products
No data.
- n/a
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the busybox package in Red Hat Enterprise Linux 2.1, 3, 4, and 5, This issue affects the fileutils package in Red Hat Enterprise Linux 2.1. This issue affects the coreutils package in Red Hat Enterprise Linux 3. The coreutils package in Red Hat Enterprise Linux 4 and 5 are not vulnerable to this issue. Given this issue has minimal risk we do not intend to issues updates to correct this issue in affected versions of Red Hat Enterprise Linux. For more information please see: https://bugzilla.redhat.com/show_bug.cgi?id=356471
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.35% (0.00347) | 25.93th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.35% (0.00347) | 26.38th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.03% (0.00027) | 4.48th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00890) | 30.33th | v2 (v2022.01.01) |
| Feb 13, 2023 | 0.89% (0.00890) | 29.93th | v2 (v2022.01.01) |
| Feb 3, 2023 | 0.95% (0.00950) | 31.66th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00890) | 28.64th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00890) | 26.62th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00890) | 12.04th | v2 (v2022.01.01) |
References (6)
- http://osvdb.org/43228 vdb-entryx_refsource_OSVDB
- https://access.redhat.com/security/cve/CVE-2007-4998 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=356471 x_refsource_CONFIRMIssue Tracking
- https://issues.rpath.com/browse/RPL-2023 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2007-4998
- https://www.cve.org/CVERecord?id=CVE-2007-4998
| Link | Providers | Tags |
|---|---|---|
| http://osvdb.org/43228 | vdb-entryx_refsource_OSVDB | |
| https://access.redhat.com/security/cve/CVE-2007-4998 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=356471 | x_refsource_CONFIRMIssue Tracking | |
| https://issues.rpath.com/browse/RPL-2023 | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-4998 | ||
| https://www.cve.org/CVERecord?id=CVE-2007-4998 |
Change history (0)
No recorded changes yet.