Vulnerability in GNU Emacs
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.3 (Medium). Vector: AV:L/AC:M/Au:N/C:N/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.007, 54.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
References
- FEDORA-2007-3056 (vendor-advisory)
- bugs.debian.org/cgi-bin/bugreport.cgi
- secunia.com/advisories/27984 (third-party-advisory)
- emacs-hacklocalvariables-security-bypass(38263) (vdb-entry)
- secunia.com/advisories/27728 (third-party-advisory)
- ADV-2008-0924 (vdb-entry)
- ADV-2007-3715 (vdb-entry)
- cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el
- osvdb.org/42060 (vdb-entry)
- USN-541-1 (vendor-advisory)