{"id":"CVE-2014-0471","aliases":["DEBIAN-CVE-2014-0471","DSA-2915-1","EUVD-2014-0509","GHSA-34xq-j8f4-r5cq","MGASA-2014-0289","UBUNTU-CVE-2014-0471","USN-2183-1","USN-2183-2"],"status":"published","title":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x...","description":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to \"C-style filename quoting.\"","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02883,"percentile":0.86951,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2014-04-28T00:00:00Z","modified":"2026-10-23T15:47:26Z","fixes":[{"ecosystem":"Debian:12","package":"dpkg","fixed_in":["1.17.8"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"dpkg","fixed_in":["1.17.8"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"dpkg","fixed_in":["1.17.8"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"dpkg","fixed_in":["1.15.9"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"dpkg","fixed_in":["1.16.13"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"dpkg","fixed_in":["1.17.5ubuntu5.1","1.17.5ubuntu5.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.8"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.8"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.8"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.9"}]}],"versions":["1.15.8.10","1.15.8.10+armhf","1.15.8.11","1.15.8.12","1.15.8.13"]},{"source":"osv","ecosystem":"Debian:7","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.13"}]}],"versions":["1.16.10","1.16.11","1.16.12"]},{"source":"osv","ecosystem":"Mageia:3","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.15-1.1.mga3"}]}],"bundled":3},{"source":"osv","ecosystem":"Mageia:4","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.10-1.1.mga4"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.5ubuntu5.1"}]}],"versions":["1.16.12ubuntu1","1.17.1ubuntu1","1.17.5ubuntu1","1.17.5ubuntu2","1.17.5ubuntu3","1.17.5ubuntu4","1.17.5ubuntu5"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.5ubuntu5.1"}]}],"versions":["1.16.12ubuntu1","1.17.1ubuntu1","1.17.5ubuntu1","1.17.5ubuntu2","1.17.5ubuntu3","1.17.5ubuntu4","1.17.5ubuntu5"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.5ubuntu5.2"}]}],"versions":["1.16.12ubuntu1","1.17.1ubuntu1","1.17.5ubuntu1","1.17.5ubuntu2","1.17.5ubuntu3","1.17.5ubuntu4","1.17.5ubuntu5","1.17.5ubuntu5.1"]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"dpkg"}],"references":[{"url":"http://www.debian.org/security/2014/dsa-2915","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/67106","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/USN-2183-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0471"},{"url":"https://github.com/advisories/GHSA-34xq-j8f4-r5cq"},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-0471","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2014-0289.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=13279","tags":["report"]},{"url":"https://www.debian.org/security/2014/dsa-2915","tags":["web"]},{"url":"https://www.debian.org/security/2014/dsa-2953","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2014-0471","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-2183-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-2183-2","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-0471","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-0471","description":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to \"C-style filename quoting.\"","status":"published","published":"2014-04-30T14:00:00Z","modified":"2024-08-06T09:20:17.946Z","updated_at":"2026-11-02T14:33:47.330011Z"}],"euvd":[{"id":"EUVD-2014-0509","description":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to \"C-style filename quoting.\"","status":"published","published":"2014-04-30T14:00:00Z","modified":"2024-08-06T09:20:17Z","updated_at":"2026-11-03T01:57:21.099925Z"}],"ghsa":[{"id":"GHSA-34xq-j8f4-r5cq","title":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x...","description":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to \"C-style filename quoting.\"","status":"published","published":"2022-05-17T04:04:46Z","modified":"2023-01-28T05:01:03Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:43:28.398824Z"}],"nvd":[{"id":"CVE-2014-0471","description":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to \"C-style filename quoting.\"","status":"published","published":"2014-04-30T14:22:06.14Z","modified":"2026-06-17T00:03:06.25Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:02:54.082915Z"}],"osv":[{"id":"CVE-2014-0471","description":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to \"C-style filename quoting.\"","status":"published","published":"2014-04-30T14:22:06Z","modified":"2026-04-16T06:23:06.872852277Z","updated_at":"2026-11-02T15:43:59.361892Z"},{"id":"DEBIAN-CVE-2014-0471","description":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to \"C-style filename quoting.\"","status":"published","published":"2014-04-30T14:22:06.14Z","modified":"2026-10-23T15:47:26.878768307Z","updated_at":"2026-11-02T15:45:25.819707Z"},{"id":"DSA-2915-1","title":"dpkg - security update","status":"published","published":"2014-04-28T00:00:00Z","modified":"2026-03-09T01:23:14.550841Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"MGASA-2014-0289","title":"Updated dpkg packages fixes security vulnerabilities","description":"Jakub Wilk discovered that dpkg did not correctly parse C-style filename\nquoting, allowing for paths to be traversed when unpacking a source package,\nleading to the creation of files outside the directory of the source being\nunpacked (CVE-2014-0471).\n\nMultiple vulnerabilities were discovered in dpkg that allow file modification\nthrough path traversal when unpacking source packages with especially-crafted\npatch files (CVE-2014-3864, CVE-2014-3865).\n","status":"published","published":"2014-07-08T22:47:58Z","modified":"2026-04-16T06:24:53.902090133Z","updated_at":"2026-11-02T15:49:39.488462Z"},{"id":"UBUNTU-CVE-2014-0471","description":"Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to \"C-style filename quoting.\"","status":"published","published":"2014-04-28T00:00:00Z","modified":"2026-04-22T09:28:58.358772Z","updated_at":"2026-11-02T15:54:07.855521Z"},{"id":"USN-2183-1","title":"dpkg vulnerability","description":"Jakub Wilk discovered that dpkg incorrectly certain paths and symlinks when\nunpacking source packages. If a user or an automated system were tricked\ninto unpacking a specially crafted source package, a remote attacker could\nmodify files outside the target unpack directory, leading to a denial of\nservice or potentially gaining access to the system.\n","status":"published","published":"2014-04-28T12:58:53Z","modified":"2026-04-22T08:48:58.371917Z","updated_at":"2026-11-02T16:58:09.227524Z"},{"id":"USN-2183-2","title":"dpkg vulnerability","description":"USN-2183-1 fixed a vulnerability in dpkg. Javier Serrano Polo discovered\nthat the fix introduced a vulnerability in releases with an older version\nof the patch utility. This update fixes the problem.\n\nOriginal advisory details:\n\n Jakub Wilk discovered that dpkg incorrectly certain paths and symlinks when\n unpacking source packages. If a user or an automated system were tricked\n into unpacking a specially crafted source package, a remote attacker could\n modify files outside the target unpack directory, leading to a denial of\n service or potentially gaining access to the system.\n","status":"published","published":"2014-05-01T14:19:26Z","modified":"2026-04-22T08:48:48.470434Z","updated_at":"2026-11-02T16:58:09.227524Z"}]}}
