CVE-2007-4998

Summary

CVECVE-2007-4998
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-01-31 21:00:00 UTC
Updated2008-11-15 06:59:00 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

Problem Types: CWE-59

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All
Operating System Linux Linux Kernel All All All All

References

ReferenceSourceLinkTags
issues.rpath.com/browse/RPL-2023 CONFIRM issues.rpath.com
43228 OSVDB osvdb.org
Bug 356471 – CVE-2007-4998 cp symlink overwrite CONFIRM bugzilla.redhat.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.

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