{"id":"CVE-2008-2827","aliases":["DEBIAN-CVE-2008-2827","DTSA-142-1","EUVD-2008-2820","GHSA-h567-wg66-2v4f"],"status":"published","title":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before...","description":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00843,"percentile":0.58176,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-264"],"published":"2008-06-23T19:00:00Z","modified":"2026-10-23T17:47:40Z","exploits":[{"source":"exploitdb","id":"EDB-31959","title":"Perl - 'rmtree()' Function Local Insecure Permissions","type":"local","platform":"linux","date":"2008-06-23","verified":true,"url":"https://www.exploit-db.com/exploits/31959"}],"fixes":[{"ecosystem":"Debian:12","package":"perl","fixed_in":["5.10.0-11"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"perl","fixed_in":["5.10.0-11"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"perl","fixed_in":["5.10.0-11"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"perl","fixed_in":["5.10.0-10+lenny1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0-11"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0-11"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0-11"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0-10+lenny1"}]}]}],"products":[{"vendor":"perl","product":"perl"}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg01025.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/29902","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:165","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://rt.cpan.org/Public/Bug/Display.html?id=36982","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"http://secunia.com/advisories/31687","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487319","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence"]},{"url":"http://www.securitytracker.com/id?1020373","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://secunia.com/advisories/30790","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/30837","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43308","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2827"},{"url":"https://github.com/advisories/GHSA-h567-wg66-2v4f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-2827","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-2827","description":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.","status":"published","published":"2008-06-23T19:00:00Z","modified":"2024-08-07T09:14:14.805Z","updated_at":"2026-11-02T14:34:44.675398Z"}],"euvd":[{"id":"EUVD-2008-2820","description":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.","status":"published","published":"2008-06-23T19:00:00Z","modified":"2024-08-07T09:14:14Z","updated_at":"2026-11-03T01:38:55.2054Z"}],"ghsa":[{"id":"GHSA-h567-wg66-2v4f","title":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before...","description":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.","status":"published","published":"2022-05-01T23:53:49Z","modified":"2023-01-31T05:05:55Z","updated_at":"2026-11-02T14:48:56.250419Z"}],"nvd":[{"id":"CVE-2008-2827","description":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.","status":"published","published":"2008-06-23T19:41:00Z","modified":"2026-06-16T22:54:33.947Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:01:26.626719Z"}],"osv":[{"id":"CVE-2008-2827","description":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.","status":"published","published":"2008-06-23T19:41:00Z","modified":"2026-04-10T03:39:57.525664Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2008-2827","description":"The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.","status":"published","published":"2008-06-23T19:41:00Z","modified":"2026-10-23T17:47:40.648226479Z","updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"DTSA-142-1","title":"perl - information disclosure / permission bypass","status":"published","published":"2008-06-24T00:00:00Z","modified":"2026-03-09T01:00:45.959407Z","updated_at":"2026-11-02T15:46:18.716547Z"}]}}
