{ "id": "CVE-2007-5795", "sourceIdentifier": "secalert@redhat.com", "published": "2007-11-02T22:46:00.000", "lastModified": "2025-04-09T00:30:58.490", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [ { "lang": "en", "value": "The hack-local-variables function in Emacs before 22.2, when enable-local-variables is set to :safe, does not properly search lists of unsafe or risky variables, which might allow user-assisted attackers to bypass intended restrictions and modify critical program variables via a file containing a Local variables declaration." }, { "lang": "es", "value": "La funci\u00f3n hack-local-variables en el Emacs anterior al 22.2, cuando el enable-local-variables est\u00e1 establecido a :safe, no busca correctamente las listas de las variables no seguras o de riesgo, lo que permite a permite a atacantes con la intervenci\u00f3n del usuario evitar las restricciones y modificar variables de programa cr\u00edticas a trav\u00e9s de un fichero que contiene declaraciones de variables Locales." } ], "metrics": { "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:L/AC:M/Au:N/C:N/I:C/A:C", "baseScore": 6.3, "accessVector": "LOCAL", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "COMPLETE", "availabilityImpact": "COMPLETE" }, "baseSeverity": "MEDIUM", "exploitabilityScore": 3.4, "impactScore": 9.2, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "NVD-CWE-Other" } ] } ], "configurations": [ { "operator": "AND", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": false, "criteria": "cpe:2.3:o:debian:debian_linux:*:*:*:*:*:*:*:*", "matchCriteriaId": "4C8919F1-CD33-437E-9627-69352B276BA3" } ] }, { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*", "versionEndIncluding": "22.1", "matchCriteriaId": "F4FB1FAE-4C0F-4F1E-B2D8-C56B5603937D" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*", "versionEndIncluding": "22.1", "matchCriteriaId": "F4FB1FAE-4C0F-4F1E-B2D8-C56B5603937D" } ] } ] } ], "references": [ { "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008", "source": "secalert@redhat.com" }, { "url": "http://bugs.gentoo.org/show_bug.cgi?id=197958", "source": "secalert@redhat.com" }, { "url": "http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29", "source": "secalert@redhat.com" }, { "url": "http://docs.info.apple.com/article.html?artnum=307562", "source": "secalert@redhat.com" }, { "url": "http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html", "source": "secalert@redhat.com" }, { "url": "http://osvdb.org/42060", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/27508", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/27627", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/27728", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/27984", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/29420", "source": "secalert@redhat.com" }, { "url": "http://security.gentoo.org/glsa/glsa-200712-03.xml", "source": "secalert@redhat.com" }, { "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:034", "source": "secalert@redhat.com" }, { "url": "http://www.securityfocus.com/bid/26327", "source": "secalert@redhat.com" }, { "url": "http://www.ubuntu.com/usn/usn-541-1", "source": "secalert@redhat.com" }, { "url": "http://www.vupen.com/english/advisories/2007/3715", "source": "secalert@redhat.com" }, { "url": "http://www.vupen.com/english/advisories/2008/0924/references", "source": "secalert@redhat.com" }, { "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/38263", "source": "secalert@redhat.com" }, { "url": "https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00524.html", "source": "secalert@redhat.com" }, { "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://bugs.gentoo.org/show_bug.cgi?id=197958", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://docs.info.apple.com/article.html?artnum=307562", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://osvdb.org/42060", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/27508", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/27627", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/27728", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/27984", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/29420", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://security.gentoo.org/glsa/glsa-200712-03.xml", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:034", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.securityfocus.com/bid/26327", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.ubuntu.com/usn/usn-541-1", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.vupen.com/english/advisories/2007/3715", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.vupen.com/english/advisories/2008/0924/references", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/38263", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00524.html", "source": "af854a3a-2127-422b-91ae-364da2661108" } ], "vendorComments": [ { "organization": "Red Hat", "comment": "Not vulnerable. This issue did not affect versions of Emacs as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.", "lastModified": "2007-11-09T00:00:00" } ] }