Code Injection Affecting emacs package, versions [,29.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (16th 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 Learn

Learn about Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-EMACS-7361771
  • published24 Jun 2024
  • disclosed23 Jun 2024
  • creditUnknown

Introduced: 23 Jun 2024

CVE-2024-39331  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade emacs to version 29.4 or higher.

Overview

Affected versions of this package are vulnerable to Code Injection in the org-link-expand-abbrev() function in Org mode. An attacker can inject code enclosed in a %(...) abbrev that will be executed when the Org file is opened or previewed.

CVSS Scores

version 4.0
version 3.1