{"id":"ALPINE-CVE-2020-15706","details":"GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions.","modified":"2025-12-03T22:47:04.930644Z","published":"2020-07-29T18:15:14.420Z","upstream":["CVE-2020-15706"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-15706"}],"affected":[{"package":{"name":"grub","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/grub?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}],"versions":["2.02-r0","2.02-r1","2.02-r10","2.02-r11","2.02-r12","2.02-r13","2.02-r14","2.02-r15","2.02-r16","2.02-r17","2.02-r18","2.02-r19","2.02-r2","2.02-r20","2.02-r3","2.02-r4","2.02-r5","2.02-r6","2.02-r7","2.02-r8","2.02-r9","2.02_beta3-r0","2.02_beta3-r1","2.02_beta3-r2","2.02_beta3-r3","2.02_beta3-r4","2.02_beta3-r5","2.02_beta3-r6","2.02_beta3-r7","2.04-r0","2.04-r1","2.04-r2","2.04-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15706.json"}},{"package":{"name":"grub","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/grub?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}],"versions":["2.02-r0","2.02-r1","2.02-r10","2.02-r11","2.02-r12","2.02-r13","2.02-r14","2.02-r15","2.02-r16","2.02-r17","2.02-r18","2.02-r19","2.02-r2","2.02-r20","2.02-r3","2.02-r4","2.02-r5","2.02-r6","2.02-r7","2.02-r8","2.02-r9","2.02_beta3-r0","2.02_beta3-r1","2.02_beta3-r2","2.02_beta3-r3","2.02_beta3-r4","2.02_beta3-r5","2.02_beta3-r6","2.02_beta3-r7","2.04-r0","2.04-r1","2.04-r2","2.04-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15706.json"}},{"package":{"name":"grub","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/grub?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}],"versions":["2.02-r0","2.02-r1","2.02-r10","2.02-r11","2.02-r12","2.02-r13","2.02-r14","2.02-r15","2.02-r16","2.02-r17","2.02-r18","2.02-r19","2.02-r2","2.02-r20","2.02-r3","2.02-r4","2.02-r5","2.02-r6","2.02-r7","2.02-r8","2.02-r9","2.02_beta3-r0","2.02_beta3-r1","2.02_beta3-r2","2.02_beta3-r3","2.02_beta3-r4","2.02_beta3-r5","2.02_beta3-r6","2.02_beta3-r7","2.04-r0","2.04-r1","2.04-r2","2.04-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15706.json"}},{"package":{"name":"grub","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/grub?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}],"versions":["2.02-r0","2.02-r1","2.02-r10","2.02-r11","2.02-r12","2.02-r13","2.02-r14","2.02-r15","2.02-r16","2.02-r17","2.02-r18","2.02-r19","2.02-r2","2.02-r20","2.02-r3","2.02-r4","2.02-r5","2.02-r6","2.02-r7","2.02-r8","2.02-r9","2.02_beta3-r0","2.02_beta3-r1","2.02_beta3-r2","2.02_beta3-r3","2.02_beta3-r4","2.02_beta3-r5","2.02_beta3-r6","2.02_beta3-r7","2.04-r0","2.04-r1","2.04-r2","2.04-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15706.json"}},{"package":{"name":"grub","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/grub?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}],"versions":["2.02-r0","2.02-r1","2.02-r10","2.02-r11","2.02-r12","2.02-r13","2.02-r14","2.02-r15","2.02-r16","2.02-r17","2.02-r18","2.02-r19","2.02-r2","2.02-r20","2.02-r3","2.02-r4","2.02-r5","2.02-r6","2.02-r7","2.02-r8","2.02-r9","2.02_beta3-r0","2.02_beta3-r1","2.02_beta3-r2","2.02_beta3-r3","2.02_beta3-r4","2.02_beta3-r5","2.02_beta3-r6","2.02_beta3-r7","2.04-r0","2.04-r1","2.04-r2","2.04-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15706.json"}},{"package":{"name":"grub","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/grub?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}],"versions":["2.02-r0","2.02-r1","2.02-r10","2.02-r11","2.02-r12","2.02-r13","2.02-r14","2.02-r15","2.02-r16","2.02-r17","2.02-r18","2.02-r19","2.02-r2","2.02-r20","2.02-r3","2.02-r4","2.02-r5","2.02-r6","2.02-r7","2.02-r8","2.02-r9","2.02_beta3-r0","2.02_beta3-r1","2.02_beta3-r2","2.02_beta3-r3","2.02_beta3-r4","2.02_beta3-r5","2.02_beta3-r6","2.02_beta3-r7","2.04-r0","2.04-r1","2.04-r2","2.04-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15706.json"}},{"package":{"name":"grub","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/grub?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}],"versions":["2.02-r0","2.02-r1","2.02-r10","2.02-r11","2.02-r12","2.02-r13","2.02-r14","2.02-r15","2.02-r16","2.02-r17","2.02-r18","2.02-r19","2.02-r2","2.02-r20","2.02-r3","2.02-r4","2.02-r5","2.02-r6","2.02-r7","2.02-r8","2.02-r9","2.02_beta3-r0","2.02_beta3-r1","2.02_beta3-r2","2.02_beta3-r3","2.02_beta3-r4","2.02_beta3-r5","2.02_beta3-r6","2.02_beta3-r7","2.04-r0","2.04-r1","2.04-r2","2.04-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15706.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}