{"schemaVersion":4,"id":"CVE-2010-4651","aliases":["UBUNTU-CVE-2010-4651","DEBIAN-CVE-2010-4651"],"status":"published","duplicateOf":null,"title":null,"description":"Directory traversal vulnerability in util.c in GNU patch 2.6.1 and earlier allows user-assisted remote attackers to create or overwrite arbitrary files via a filename that is specified with a .. (dot dot) or full pathname, a related issue to CVE-2010-1679.","dates":{"published":"2011-03-11T22:00:00.000Z","modified":"2024-08-07T03:51:17.968Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.8,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.04874,"percentile":0.92294,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.04874},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.04874,"percentile":0.92294}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.04874,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.04874,"percentile":0.92294}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"patch","name":"patch","label":"patch","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/patch","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"patch","name":"patch","label":"patch","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/patch","purlType":"deb","versions":[{"text":"< 2.7.1-4ubuntu1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.7.1-4ubuntu1","endInclusive":false}}],"versionsText":"< 2.7.1-4ubuntu1","eol":null,"hubHref":null},{"vendor":"gnu","product":"gnu_patch","name":"gnu patch","label":"gnu_patch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.6.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.6.1","endInclusive":true}},{"text":"2.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.5"}},{"text":"2.5.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.5.4"}},{"text":"2.5.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.5.9"}},{"text":"2.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.6"}}],"versionsText":"≤ 2.6.1 | 2.5 | 2.5.4 | 2.5.9 | 2.6","eol":null,"hubHref":"/vendor/gnu/gnu_patch"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.vupen.com/english/advisories/2011/0600","label":"www.vupen.com/english/advisories/2011/0600","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Vendor Advisory"]},{"url":"http://support.apple.com/kb/HT4723","label":"support.apple.com/kb/HT4723","hostname":"support.apple.com","tags":["X Refsource CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2011/01/06/20","label":"openwall.com/lists/oss-security/2011/01/06/20","hostname":"openwall.com","tags":["Mailing List","X Refsource MLIST"]},{"url":"http://www.securityfocus.com/bid/46768","label":"www.securityfocus.com/bid/46768","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://lists.apple.com/archives/security-announce/2011//Jun/msg00000.html","label":"lists.apple.com/archives/security-announce/2011//Jun/msg00000.html","hostname":"lists.apple.com","tags":["Vendor Advisory","X Refsource APPLE"]},{"url":"http://openwall.com/lists/oss-security/2011/01/06/21","label":"openwall.com/lists/oss-security/2011/01/06/21","hostname":"openwall.com","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=667529","label":"bugzilla.redhat.com/show_bug.cgi?id=667529","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Patch"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055246.html","label":"lists.fedoraproject.org/pipermail/package-announce/2011-March/055246.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Patch"]},{"url":"http://openwall.com/lists/oss-security/2011/01/06/19","label":"openwall.com/lists/oss-security/2011/01/06/19","hostname":"openwall.com","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"http://git.savannah.gnu.org/cgit/patch.git/commit/?id=685a78b6052f4df6eac6d625a545cfb54a6ac0e1","label":"git.savannah.gnu.org/cgit/patch.git/commit/?id=685a78b6052f4df6eac6d625a545cfb54a6ac0e1","hostname":"git.savannah.gnu.org","tags":["X Refsource CONFIRM","Patch"]},{"url":"http://secunia.com/advisories/43677","label":"secunia.com/advisories/43677","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055241.html","label":"lists.fedoraproject.org/pipermail/package-announce/2011-March/055241.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Patch"]},{"url":"http://openwall.com/lists/oss-security/2011/01/05/10","label":"openwall.com/lists/oss-security/2011/01/05/10","hostname":"openwall.com","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"http://lists.gnu.org/archive/html/bug-patch/2010-12/msg00000.html","label":"lists.gnu.org/archive/html/bug-patch/2010-12/msg00000.html","hostname":"lists.gnu.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"http://secunia.com/advisories/43663","label":"secunia.com/advisories/43663","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2010-4651","label":"ubuntu.com/security/CVE-2010-4651","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-2651-1","label":"ubuntu.com/security/notices/USN-2651-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2010-4651","label":"www.cve.org/CVERecord?id=CVE-2010-4651","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2010-4651","label":"security-tracker.debian.org/tracker/CVE-2010-4651","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10379-1","SUSE-SU-2018:1162-1","USN-2651-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10379-1","SUSE-SU-2018:1162-1","USN-2651-1"]},"timeline":[{"kind":"published","date":"2011-03-11T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T03:51:17.968Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,5,58],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.04874,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-07T03:51:17.968Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","version":"2.0","headline":true}],"epss":{"value":0.04874,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:01:53.291Z","stale":false,"partial":false}}