CVE-2007-4998

Summary

CVECVE-2007-4998
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-01-31 21:00:00 UTC
Updated2026-04-23 00:35:47 UTC
Descriptioncp, 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

Primary CVSS: v2.0 6.9 from [email protected]

AV:L/AC:M/Au:N/C:C/I:C/A:C

Problem Types: CWE-59 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
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

OrganizationPublishedContributorStatement
Red Hat2008-02-12Joshua BressersThis 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)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report