CVE-2007-5795
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00524.html (vendor-advisory)
- http://www.ubuntu.com/usn/usn-541-1 (vendor-advisory)
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:034 (vendor-advisory)
- http://security.gentoo.org/glsa/glsa-200712-03.xml (vendor-advisory)
References
- https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00524.html
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008
- http://secunia.com/advisories/27984
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38263
- http://secunia.com/advisories/27728
- http://www.vupen.com/english/advisories/2008/0924/references
- http://www.vupen.com/english/advisories/2007/3715
- http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29
- http://osvdb.org/42060
- http://www.ubuntu.com/usn/usn-541-1
- http://secunia.com/advisories/29420
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:034
- http://www.securityfocus.com/bid/26327
- http://bugs.gentoo.org/show_bug.cgi?id=197958
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.