{"id":"DEBIAN-CVE-2007-4998","details":"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.","modified":"2026-09-01T20:02:28.036204329Z","published":"2008-01-31T21:00:00Z","upstream":["CVE-2007-4998"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2007-4998"}],"affected":[{"package":{"name":"coreutils","ecosystem":"Debian:12","purl":"pkg:deb/debian/coreutils?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4998.json"}},{"package":{"name":"coreutils","ecosystem":"Debian:13","purl":"pkg:deb/debian/coreutils?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4998.json"}},{"package":{"name":"coreutils","ecosystem":"Debian:14","purl":"pkg:deb/debian/coreutils?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4998.json"}}],"schema_version":"1.9.0"}