UnratedFix available
coreutils — security advisory
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.
- Products
- coreutils
- Affected versions
- Not specified
- Fixed versions
- 4.1.2
- CVEs
- CVE-2007-4998
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 15:44 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2007-4998
coreutils
Fixed versions: 4.1.2
coreutils
Fixed versions: 4.1.2
coreutils
Fixed versions: 4.1.2
Complete source record
{
"id": "ab44613e8691a5ca56ead19a12b592b7905b7778afd497200fbfb2cba8563737",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2007-4998",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2007-4998",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2007-4998",
"products": [
{
"name": {
"value": "coreutils",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.1.2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "coreutils",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.1.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "coreutils",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.1.2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2007-4998",
"aliases": [
"DEBIAN-CVE-2007-4998"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.2"
}
]
}
],
"package": {
"name": "coreutils",
"purl": "pkg:deb/debian/coreutils?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4998.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.2"
}
]
}
],
"package": {
"name": "coreutils",
"purl": "pkg:deb/debian/coreutils?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4998.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.2"
}
]
}
],
"package": {
"name": "coreutils",
"purl": "pkg:deb/debian/coreutils?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4998.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-21T17:47:31.504797922Z",
"provider": "osv",
"upstream": [
"CVE-2007-4998"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2007-4998"
]
},
"related_cves": [
{
"value": "CVE-2007-4998",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 398243,
"published_at": "2008-01-31T21:00:00+00:00"
}