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 attack...
MediumCVSS 6.3
EPSS 0.72%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| GNU emacs | <= 22.1 | after 22.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GNU emacs | <= 22.1 | No fix listed |
References
- bugs.debian.org
- bugs.gentoo.org
- cvs.savannah.gnu.org
- docs.info.apple.com
- APPLE-SA-2008-03-18 vendor-advisory
- 42060 vdb-entry
- 27508 third-party-advisory
- 27627 third-party-advisory
- 27728 third-party-advisory
- 27984 third-party-advisory
- 29420 third-party-advisory
- GLSA-200712-03 vendor-advisory
- MDVSA-2008:034 vendor-advisory
- 26327 vdb-entry
- USN-541-1 vendor-advisory
- ADV-2007-3715 vdb-entry
- ADV-2008-0924 vdb-entry
- emacs-hacklocalvariables-security-bypass(38263) vdb-entry
- FEDORA-2007-3056 vendor-advisory