{"id":"ALPINE-CVE-2021-0308","details":"In ReadLogicalParts of basicmbr.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-158063095.","modified":"2025-12-03T22:49:18.677857Z","published":"2021-01-11T22:15:13.173Z","upstream":["CVE-2021-0308"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-0308"}],"affected":[{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}},{"package":{"name":"gptfdisk","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/gptfdisk?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-r0"}]}],"versions":["0.8.10-r0","0.8.10-r1","0.8.8-r0","0.8.9-r0","1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.1-r0","1.0.1-r1","1.0.3-r0","1.0.4-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-0308.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}