Arbitrary Code Execution Affecting emacs package, versions [23.2,23.5)[24.1,24.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.79% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-EMACS-2370942
  • published26 Jan 2022
  • disclosed25 Aug 2012
  • creditUnknown

Introduced: 25 Aug 2012

CVE-2012-3479  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade emacs to version 23.5, 24.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution lisp/files.el in Emacs 23.2, 23.3, 23.4, and 24.1 automatically executes eval forms in local-variable sections when the enable-local-variables option is set to :safe, which allows user-assisted remote attackers to execute arbitrary Emacs Lisp code via a crafted file.

References

CVSS Base Scores

version 3.1