6.3med

CVE-2007-57951 exploit

The hack-local-variables function in Emacs before 22.2, when enable-local-variables is set to :safe, does not properly search lists of unsa…

Published 19 y ago · modified 4 mo ago · JSON

CVSS
6.3
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.7%
percentile 54%
Public exploits
1
Exploit-DB

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.

Exploit prediction (EPSS)

0.72% probability of exploitation in the next 30 days, higher than 54% of all scored CVEs.

Exploits and detections

  • EDB-30736 GNU Emacs 22.1 - Local Variable Handling Code Execution · remote · 2007-11-02

CVSS scores

Assigned byVersionScoreVector
NVD2.06.3AV:L/AC:M/Au:N/C:N/I:C/A:C

References

  • redhat.com /archives/fedora-package-announce/2007-November/msg00524.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • bugs.debian.org /cgi-bin/bugreport.cgi?bug=449008 · x_refsource_CONFIRM, x_transferred
  • secunia.com /advisories/27984 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/38263 · vdb-entry, x_refsource_XF, x_transferred
  • secunia.com /advisories/27728 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • vupen.com /english/advisories/2008/0924/references · vdb-entry, x_refsource_VUPEN, x_transferred
  • vupen.com /english/advisories/2007/3715 · vdb-entry, x_refsource_VUPEN, x_transferred
  • cvs.savannah.gnu.org /viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29 · x_refsource_CONFIRM, x_transferred
  • osvdb.org /42060 · vdb-entry, x_refsource_OSVDB, x_transferred
  • ubuntu.com /usn/usn-541-1 · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • secunia.com /advisories/29420 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • lists.apple.com /archives/security-announce/2008/Mar/msg00001.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • mandriva.com /security/advisories?name=MDVSA-2008:034 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
  • securityfocus.com /bid/26327 · vdb-entry, x_refsource_BID, x_transferred
  • bugs.gentoo.org /show_bug.cgi?id=197958 · x_refsource_CONFIRM, x_transferred
  • security.gentoo.org /glsa/glsa-200712-03.xml · vendor-advisory, x_refsource_GENTOO, x_transferred
  • docs.info.apple.com /article.html?artnum=307562 · x_refsource_CONFIRM, x_transferred
  • secunia.com /advisories/27508 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • secunia.com /advisories/27627 · third-party-advisory, x_refsource_SECUNIA, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.