CVE-2020-17354
8.6high
LilyPond before 2.24 allows attackers to bypass the -dsafe protection mechanism via output-def-lookup or output-def-scope, as demonstrated…
- Severity
- 8.6high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
LilyPond before 2.24 allows attackers to bypass the -dsafe protection mechanism via output-def-lookup or output-def-scope, as demonstrated by dangerous Scheme code in a .ly file that causes arbitrary code execution during conversion to a different file format. NOTE: in 2.24 and later versions, safe mode is removed, and the product no longer tries to block code execution when external files are used.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| lilypond lilypond | before 2.24.0 | NVD |
All scores
| CISA-ADP | 8.6high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 8.6high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage | release-notes | |
| https://phabricator.wikimedia.org/T259210 | exploit, third-party-advisory | |
| https://www.mediawiki.org/wiki/Extension:Score/2021_security_advisory | third-party-advisory | |
| https://tracker.debian.org/news/1249694/accepted-lilypond-2221-1-source-into-unstable/ | mailing-list, release-notes, third-party-advisory | |
| https://gitlab.com/lilypond/lilypond/-/merge_requests/1522 | patch, vendor-advisory | |
| https://lilypond.org/download.html | product | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ST5BLLQ4GDME3SN7UE5OMNE5GZE66X4Y/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K43PF6VGFJNNGAPY57BW3VMEFFOSMRLF/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-17354 changed 2025-02-06 | CVE Terms of Use |
| NVD | CVE-2020-17354 changed 2026-06-17 | Public domain |