Emacs hack-local-variables bypass with unsafe variables
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 0.718%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:gnu | emacsEnvironments (1)
| Affected versions: ≤ 22.1 |
| Vendor:gnu | emacs | Affected versions: ≤ 22.1 |
| Vendor:SUSE | emacsEnvironments (1)
| Affected versions: < 0:22.3-4.32.4 |
| Vendor:SUSE | emacs-elEnvironments (1)
| Affected versions: < 0:22.3-4.32.4 |
| Vendor:SUSE | emacs-infoEnvironments (1)
| Affected versions: < 0:22.3-4.32.4 |
| Vendor:SUSE | emacs-noxEnvironments (1)
| Affected versions: < 0:22.3-4.32.4 |
| Vendor:SUSE | emacs-x11Environments (1)
| Affected versions: < 0:22.3-4.32.4 |
| Vendor:SUSE | emacsEnvironments (2)
| Affected versions: < 0:22.3-4.40.1 |
| Vendor:SUSE | emacs-elEnvironments (2)
| Affected versions: < 0:22.3-4.40.1 |
| Vendor:SUSE | emacs-infoEnvironments (2)
| Affected versions: < 0:22.3-4.40.1 |
1–10 of 43 · Page 1 of 5
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary6.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:N/I:C/A:Cnvd · Wazuh CTI (cna)6.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:N/I:C/A:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories26
- CVE List / CNA
- NVD
- Wazuh CTI
- SUSE VEX
- FIRST EPSS
- security.gentoo.org
- securityfocus.com
- mandriva.com
- lists.apple.com
- osvdb.org
- ubuntu.com
- secunia.com
- secunia.com
- vupen.com
- vupen.com
- cvs.savannah.gnu.org
- secunia.com
- bugs.debian.org
- secunia.com
- exchange.xforce.ibmcloud.com
- redhat.com
- bugs.gentoo.org
- docs.info.apple.com
- secunia.com
- SUSE CVE-2007-5795
- Mitre CVE-2007-5795
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences