{"id":"ALPINE-CVE-2021-27219","details":"An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.","modified":"2026-08-27T22:18:01.554168479Z","published":"2021-02-15T17:15:13.137Z","upstream":["CVE-2021-27219"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-27219"}],"affected":[{"package":{"name":"glib","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}},{"package":{"name":"glib","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-27219.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}