CVE-2007-4998
Summary
| CVE | CVE-2007-4998 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2008-01-31 21:00:00 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
MediumAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:L/AC:M/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Bug 356471 – CVE-2007-4998 cp symlink overwrite | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| osvdb.org/43228 | af854a3a-2127-422b-91ae-364da2661108 | osvdb.org | |
| issues.rpath.com/browse/RPL-2023 | af854a3a-2127-422b-91ae-364da2661108 | issues.rpath.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
| Organization | Published | Contributor | Statement |
|---|---|---|---|
| Red Hat | 2008-02-12 | Joshua Bressers | 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 |
Legacy QID Mappings
- 900101 CBL-Mariner Linux Security Update for kernel 5.10.52.1
- 900303 CBL-Mariner Linux Security Update for kernel 5.10.57.1
- 900321 CBL-Mariner Linux Security Update for kernel 5.10.60.1
- 901675 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (6512)
- 902916 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (3466)
- 905957 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (3466-1)
- 906477 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (6512-2)