First published: Fri Nov 02 2007(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
GNU Emacs | <=22.1 | |
Debian Debian Linux |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-5795 is considered a moderate severity vulnerability due to its potential to allow user-assisted attackers to modify critical program variables.
To fix CVE-2007-5795, upgrade Emacs to version 22.2 or later, where the vulnerability has been addressed.
CVE-2007-5795 affects Emacs versions prior to 22.2.
CVE-2007-5795 allows user-assisted attackers to bypass intended restrictions on local variables in Emacs.
Debian Linux is not vulnerable to CVE-2007-5795 as the vulnerability specifically pertains to certain versions of Emacs.