{"id":"ALPINE-CVE-2020-14309","details":"There's an issue with grub2 in all versions before 2.06 when handling squashfs filesystems containing a symbolic link with name length of UINT32 bytes in size. The name size leads to an arithmetic overflow leading to a zero-size allocation further causing a heap-based buffer overflow with attacker controlled data.","modified":"2026-03-09T01:16:24.891934Z","published":"2020-07-30T13:15:10.987Z","upstream":["CVE-2020-14309"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-14309"}],"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/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-14309.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/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-14309.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/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-14309.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/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-14309.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/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-14309.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/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-14309.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/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-14309.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}