ID CVE-2007-5795
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:o:debian:debian_linux:*:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:-:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:-:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:20.0:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:20.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:20.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:20.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:20.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:20.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:20.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:20.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:20.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:20.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:20.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:20.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:20.6:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:20.6:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:20.7:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:20.7:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:21:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:21:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:21.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:21.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:21.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:21.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:21.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:21.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:21.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:21.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:21.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:21.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:21.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:21.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:emacs:22.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:emacs:22.1:*:*:*:*:*:*:*
CVSS
Base: 6.3 (as of 29-07-2017 - 01:33)
Impact:
Exploitability:
CWE NVD-CWE-Other
CAPEC
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:M/Au:N/C:N/I:C/A:C
refmap via4
apple APPLE-SA-2008-03-18
bid 26327
confirm
fedora FEDORA-2007-3056
gentoo GLSA-200712-03
mandriva MDVSA-2008:034
osvdb 42060
secunia
  • 27508
  • 27627
  • 27728
  • 27984
  • 29420
ubuntu USN-541-1
vupen
  • ADV-2007-3715
  • ADV-2008-0924
xf emacs-hacklocalvariables-security-bypass(38263)
statements via4
contributor Mark J Cox
lastmodified 2007-11-09
organization Red Hat
statement Not vulnerable. This issue did not affect versions of Emacs as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.
Last major update 29-07-2017 - 01:33
Published 02-11-2007 - 22:46
Back to Top