VDB
CVE-2024-39331
CVE-2024-39331
PUBLISHED
CVSS 9.8 CRITICAL
Reported by mitre · Published June 23, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| emacs-nox | Amazon Linux | 1:28.2-3.amzn2023.0.8, 1:27.2-4.amzn2.0.5 |
| emacs-devel | Amazon Linux | 1:27.2-4.amzn2.0.5 |
| emacs-filesystem | Amazon Linux | 1:28.2-3.amzn2023.0.8, 1:27.2-4.amzn2.0.5 |
| emacs | Amazon Linux | 1:28.2-3.amzn2023.0.8, 1:27.2-4.amzn2.0.5 |
| emacs-common | Amazon Linux | 1:28.2-3.amzn2023.0.8, 1:27.2-4.amzn2.0.5 |
| emacs-lucid | Amazon Linux | 1:28.2-3.amzn2023.0.8, 1:27.2-4.amzn2.0.5 |
| emacs-terminal | Amazon Linux | 1:28.2-3.amzn2023.0.8, 1:27.2-4.amzn2.0.5 |
| emacs | gnu | 29.4 |
Risk scores
CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | emacs-nox | 0 |
| amazon:2 | emacs-devel | 0 |
| amazon:2023 | emacs-filesystem | 0 |
| amazon:2023 | emacs | 0 |
| amazon:2 | emacs-common | 0 |
| gnu | emacs | 0 |
| amazon:2 | emacs-filesystem | 0 |
| amazon:2 | emacs | 0 |
| amazon:2023 | emacs-lucid | 0 |
| amazon:2023 | emacs-nox | 0 |
| amazon:2023 | emacs-common | 0 |
| amazon:2 | emacs-lucid | 0 |
| amazon:2023 | emacs-terminal | 0 |
| amazon:2 | emacs-terminal | 0 |
| n/a | n/a | * |
| amazon:2023 | emacs-devel | 0 |
Timeline
- Jun 23, 2024 CVE Published
- Jun 24, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jun 2, 2026 Security Advisory (12 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-39331
vulnetix vdb fixes CVE-2024-39331
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-39331/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart