CVE-2024-39331

In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5.
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
mitreCNA
---
---
CISA-ADPADP
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 74%
VendorProductVersion
gnuemacs
𝑥
< 29.4
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
emacs
bullseye
1:27.1+1-3.1+deb11u5
fixed
bookworm
1:28.2+1-15+deb12u4
ignored
bullseye (security)
1:27.1+1-3.1+deb11u6
fixed
bookworm (security)
1:28.2+1-15+deb12u4
fixed
sid
1:30.1+1-5
fixed
trixie
1:30.1+1-5
fixed
org-mode
bullseye (security)
9.4.0+dfsg-1+deb11u3
fixed
bullseye
9.4.0+dfsg-1+deb11u3
fixed
bookworm
ignored
sid
9.7.29+dfsg-1
fixed
trixie
9.7.29+dfsg-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
emacs
plucky
not-affected
oracular
not-affected
noble
Fixed 1:29.3+1-1ubuntu2+esm1
released
mantic
ignored
jammy
Fixed 1:27.1+1-3ubuntu5.2
released
focal
Fixed 1:26.3+1-1ubuntu2+esm1
released
emacs24
plucky
dne
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
xenial
Fixed 24.5+1-6ubuntu1.1+esm4
released
emacs25
plucky
dne
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
bionic
Fixed 25.2+1-6ubuntu0.1~esm2
released
org-mode
plucky
not-affected
oracular
not-affected
noble
Fixed 9.6.10+dfsg-1ubuntu0.1~esm1
released
mantic
ignored
jammy
Fixed 9.5.2+dfsh-4ubuntu0.1~esm1
released
focal
Fixed 9.3.1+dfsg-1ubuntu0.1~esm1
released
bionic
Fixed 9.1.6+dfsg-1ubuntu0.1~esm1
released
xenial
Fixed 8.3.3-2ubuntu0.1~esm1
released
xemacs21
plucky
needs-triage
oracular
needs-triage
noble
needs-triage
mantic
ignored
jammy
needs-triage
focal
needs-triage
bionic
needs-triage
xenial
needs-triage
xemacs21-packages
plucky
needs-triage
oracular
needs-triage
noble
needs-triage
mantic
ignored
jammy
needs-triage
focal
needs-triage
bionic
needs-triage
xenial
needs-triage