{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "libcgi-fast-perl", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "libperl-dev", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "libperl5.10", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "perl", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "perl-base", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "perl-debug", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "perl-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "perl-modules", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "perl-suid", "versions": [{"status": "affected", "version": "0", "lessThan": "5.10.0-18", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2008-5302"}], "descriptions": [{"lang": "en", "value": "Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in Perl 5.8.8 and 5.10.0 allows local users to create arbitrary setuid binaries via a symlink attack, a different vulnerability than CVE-2005-0448, CVE-2004-0452, and CVE-2008-2827. NOTE: this is a regression error related to CVE-2005-0448.  It is different from CVE-2008-5303 due to affected versions."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2008-12-03T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "perl", "versions": [{"status": "affected", "version": "0", "lessThan": "4:5.8.8-32.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "perl-suidperl", "versions": [{"status": "affected", "version": "0", "lessThan": "4:5.8.8-32.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2008-5302.html"}], "descriptions": [{"lang": "en", "value": "Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in Perl 5.8.8 and 5.10.0 allows local users to create arbitrary setuid binaries via a symlink attack, a different vulnerability than CVE-2005-0448, CVE-2004-0452, and CVE-2008-2827. NOTE: this is a regression error related to CVE-2005-0448. It is different from CVE-2008-5303 due to affected versions.\nRace condition in the rmtree function in File::Path 1.08 (lib/File/Path.pm) in Perl 5.8.8 allows local users to allows local users to delete arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448, CVE-2004-0452, and CVE-2008-2827. NOTE: this is a regression error related to CVE-2005-0448. It is different from CVE-2008-5302 due to affected versions."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2010-06-07T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.4, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "perl", "versions": [{"status": "affected", "version": "0", "lessThan": "4:5.8.8-32.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "perl-suidperl", "versions": [{"status": "affected", "version": "0", "lessThan": "4:5.8.8-32.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2010:0458"}, {"url": "https://access.redhat.com/security/cve/CVE-2008-5302"}], "descriptions": [{"lang": "en", "value": "Perl is a high-level programming language commonly used for system\nadministration utilities and web programming. The Safe extension module\nallows users to compile and execute Perl code in restricted compartments.\nThe File::Path module allows users to create and remove directory trees.\n\nThe Safe module did not properly restrict the code of implicitly called\nmethods (such as DESTROY and AUTOLOAD) on implicitly blessed objects\nreturned as a result of unsafe code evaluation. These methods could have\nbeen executed unrestricted by Safe when such objects were accessed or\ndestroyed. A specially-crafted Perl script executed inside of a Safe\ncompartment could use this flaw to bypass intended Safe module\nrestrictions. (CVE-2010-1168)\n\nThe Safe module did not properly restrict code compiled in a Safe\ncompartment and executed out of the compartment via a subroutine reference\nreturned as a result of unsafe code evaluation. A specially-crafted Perl\nscript executed inside of a Safe compartment could use this flaw to bypass\nintended Safe module restrictions, if the returned subroutine reference was\ncalled from outside of the compartment. (CVE-2010-1447)\n\nMultiple race conditions were found in the way the File::Path module's\nrmtree function removed directory trees. A malicious, local user with write\naccess to a directory being removed by a victim, running a Perl script\nusing rmtree, could cause the permissions of arbitrary files to be changed\nto world-writable and setuid, or delete arbitrary files via a symbolic link\nattack, if the victim had the privileges to change the permissions of the\ntarget files or to remove them. (CVE-2008-5302, CVE-2008-5303)\n\nRed Hat would like to thank Tim Bunce for responsibly reporting the\nCVE-2010-1168 and CVE-2010-1447 issues. Upstream acknowledges Nick Cleaton\nas the original reporter of CVE-2010-1168, and Tim Bunce and Rafaël\nGarcia-Suarez as the original reporters of CVE-2010-1447.\n\nThese packages upgrade the Safe extension module to version 2.27. Refer to\nthe Safe module's Changes file, linked to in the References, for a full\nlist of changes.\n\nUsers of perl are advised to upgrade to these updated packages, which\ncorrect these issues. All applications using the Safe or File::Path modules\nmust be restarted for this update to take effect."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2008-11-19T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 6.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}], "affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286905", "tags": ["exploit"]}, {"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286922#36", "tags": ["exploit"]}, {"url": "http://www.gossamer-threads.com/lists/perl/porters/233695#233695", "tags": ["exploit"]}, {"url": "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705"}, {"url": "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735"}, {"url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html"}, {"url": "http://secunia.com/advisories/32980"}, {"url": "http://secunia.com/advisories/33314"}, {"url": "http://secunia.com/advisories/40052"}, {"url": "http://support.apple.com/kb/HT4077"}, {"url": "http://wiki.rpath.com/Advisories:rPSA-2009-0011"}, {"url": "http://www.debian.org/security/2008/dsa-1678"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2010:116"}, {"url": "http://www.openwall.com/lists/oss-security/2008/11/28/2"}, {"url": "http://www.redhat.com/support/errata/RHSA-2010-0458.html"}, {"url": "http://www.securityfocus.com/archive/1/500210/100/0/threaded"}, {"url": "http://www.ubuntu.com/usn/usn-700-1"}, {"url": "http://www.ubuntu.com/usn/usn-700-2"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/47043"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11076"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6890"}], "descriptions": [{"lang": "en", "value": "Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in Perl 5.8.8 and 5.10.0 allows local users to create arbitrary setuid binaries via a symlink attack, a different vulnerability than CVE-2005-0448, CVE-2004-0452, and CVE-2008-2827. NOTE: this is a regression error related to CVE-2005-0448.  It is different from CVE-2008-5303 due to affected versions."}, {"lang": "es", "value": "Condición de carrera en la función rmtree de File::Path 1.08 y 2.07 (lib/File/Path.pm) en Perl 5.8.8 y 5.10.0 permite a usuarios locales crear binarios setuid arbitrarios a través de un ataque por enlace simbólico. Se trata de una vulnerabilidad diferente que CVE-2005-0448, CVE-2004-0452 y CVE-2008-2827. NOTA: Esto es un error de regresión relacionado con CVE-2005-0448. Es diferente de CVE-2008-5303 por las versiones afectadas."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-362", "description": "CWE-362"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "DISCARDED_CNA", "dateUpdated": "2008-12-01T17:30:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2008-5302", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2008-12-01T17:30:01Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}