CVE-2024-39331

EUVD-2024-37900
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
NISTPrimary
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
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 60%
Affected Products (NVD)
VendorProductVersion
gnuemacs
𝑥
< 29.4
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
emacs
bookworm
1:28.2+1-15+deb12u4
ignored
bookworm (security)
1:28.2+1-15+deb12u4
fixed
bullseye
1:27.1+1-3.1+deb11u5
fixed
bullseye (security)
1:27.1+1-3.1+deb11u6
fixed
forky
1:30.2+1-2
fixed
sid
1:30.2+1-2
fixed
trixie
1:30.1+1-6
fixed
org-mode
bookworm
ignored
bullseye
9.4.0+dfsg-1+deb11u3
fixed
bullseye (security)
9.4.0+dfsg-1+deb11u3
fixed
forky
9.7.36+dfsg-1
fixed
sid
9.7.36+dfsg-1
fixed
trixie
9.7.29+dfsg-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
emacs
focal
Fixed 1:26.3+1-1ubuntu2+esm1
released
jammy
Fixed 1:27.1+1-3ubuntu5.2
released
mantic
ignored
noble
Fixed 1:29.3+1-1ubuntu2+esm1
released
oracular
not-affected
plucky
not-affected
questing
not-affected
xemacs21
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
mantic
ignored
noble
needs-triage
oracular
ignored
plucky
needs-triage
questing
needs-triage
xenial
needs-triage
xemacs21-packages
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
mantic
ignored
noble
needs-triage
oracular
ignored
plucky
needs-triage
questing
needs-triage
xenial
needs-triage
emacs24
focal
dne
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
xenial
Fixed 24.5+1-6ubuntu1.1+esm4
released
emacs25
bionic
Fixed 25.2+1-6ubuntu0.1~esm2
released
focal
dne
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
org-mode
bionic
Fixed 9.1.6+dfsg-1ubuntu0.1~esm1
released
focal
Fixed 9.3.1+dfsg-1ubuntu0.1~esm1
released
jammy
Fixed 9.5.2+dfsh-4ubuntu0.1~esm1
released
mantic
ignored
noble
Fixed 9.6.10+dfsg-1ubuntu0.1~esm1
released
oracular
not-affected
plucky
not-affected
questing
not-affected
xenial
Fixed 8.3.3-2ubuntu0.1~esm1
released