Arbitrary Code Execution Affecting emacs package, versions [,29.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.63% (46th 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-3150941
  • published30 Nov 2022
  • disclosed27 Nov 2022
  • creditUnknown

Introduced: 27 Nov 2022

CVE-2022-45939  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade emacs to version 29.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution in the just_read_file() function in etags.c. Insertion of shell metacharacters into the filename of a source code file allows attackers to use ctags commands to execute code.

References

CVSS Base Scores

version 3.1