{"schemaVersion":3,"id":"CVE-2020-17354","aliases":["MGASA-2023-0325","UBUNTU-CVE-2020-17354","DEBIAN-CVE-2020-17354"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-04-15T00:00:00.000Z","modified":"2025-02-06T17:00:20.661Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":4.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":4.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00414,"percentile":0.34309,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00414},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00414,"percentile":0.34309}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00414,"percentile":0.34309}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_252D6C15B6A3D966","name":"Exploit Reference (phabricator.wikimedia.org)","source":"reference","url":"https://phabricator.wikimedia.org/T259210","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"debian","product":"lilypond","name":"lilypond","label":"lilypond","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lilypond","purlType":"deb","versions":[{"text":"< 2.22.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.22.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lilypond","name":"lilypond","label":"lilypond","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lilypond","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"lilypond","product":"lilypond","name":"lilypond","label":"lilypond","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.24.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.24.0","eol":null,"hubHref":"/vendor/lilypond/lilypond"},{"vendor":"mageia","product":"lilypond","name":"lilypond","label":"lilypond","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/lilypond","purlType":"rpm","versions":[{"text":"< 2.24.2-2.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.24.2-2.mga9","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage","label":"lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage","hostname":"lilypond.org","tags":["Release Notes"]},{"url":"https://phabricator.wikimedia.org/T259210","label":"phabricator.wikimedia.org/T259210","hostname":"phabricator.wikimedia.org","tags":["REPORT","Exploit","Third Party Advisory"]},{"url":"https://www.mediawiki.org/wiki/Extension:Score/2021_security_advisory","label":"www.mediawiki.org/wiki/Extension:Score/2021_security_advisory","hostname":"www.mediawiki.org","tags":["REPORT","Third Party Advisory"]},{"url":"https://tracker.debian.org/news/1249694/accepted-lilypond-2221-1-source-into-unstable/","label":"tracker.debian.org/news/1249694/accepted-lilypond-2221-1-source-into-unstable/","hostname":"tracker.debian.org","tags":["Mailing List","Release Notes","Third Party Advisory"]},{"url":"https://gitlab.com/lilypond/lilypond/-/merge_requests/1522","label":"gitlab.com/lilypond/lilypond/-/merge_requests/1522","hostname":"gitlab.com","tags":["Patch","Vendor Advisory"]},{"url":"https://lilypond.org/download.html","label":"lilypond.org/download.html","hostname":"lilypond.org","tags":["Product"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ST5BLLQ4GDME3SN7UE5OMNE5GZE66X4Y/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K43PF6VGFJNNGAPY57BW3VMEFFOSMRLF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0325.html","label":"advisories.mageia.org/MGASA-2023-0325.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31889","label":"bugs.mageia.org/show_bug.cgi?id=31889","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2020-17354","label":"ubuntu.com/security/CVE-2020-17354","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://phabricator.wikimedia.org/T257062","label":"phabricator.wikimedia.org/T257062","hostname":"phabricator.wikimedia.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-17354","label":"www.cve.org/CVERecord?id=CVE-2020-17354","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-17354","label":"security-tracker.debian.org/tracker/CVE-2020-17354","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2023:0137-1"],"duplicates":[],"related":["OPENSUSE-SU-2023:0137-1"]},"timeline":[{"kind":"published","date":"2023-04-15T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-06T17:00:20.661Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":44,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:26:24.938Z","stale":false,"partial":false}}