{"id":"USN-5189-1","summary":"A security issue was fixed in GLib","details":"It was discovered that GLib incorrectly handled certain environment variables.\nAn attacker could possibly use this issue to escalate privileges.\n","modified":"2026-06-29T13:48:40.277973124Z","published":"2021-12-13T19:48:07Z","related":["UBUNTU-CVE-2021-3800"],"upstream":["CVE-2021-3800","UBUNTU-CVE-2021-3800"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5189-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3800"}],"affected":[{"package":{"name":"glib2.0","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/glib2.0?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.40.2-0ubuntu1.1+esm4"}]}],"versions":["2.38.0-1ubuntu1","2.38.1-1","2.39.1-0ubuntu1","2.39.1-0ubuntu2","2.39.1-0ubuntu3","2.39.2-0ubuntu1","2.39.2-0ubuntu2","2.39.3-0ubuntu4","2.39.4-0ubuntu1","2.39.90-0ubuntu1","2.39.91-0ubuntu2","2.39.91-0ubuntu3","2.39.92-2","2.40.0-1","2.40.0-1ubuntu1","2.40.0-2","2.40.2-0ubuntu1","2.40.2-0ubuntu1.1","2.40.2-0ubuntu1.1+esm1","2.40.2-0ubuntu1.1+esm2","2.40.2-0ubuntu1.1+esm3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libglib2.0-0","binary_version":"2.40.2-0ubuntu1.1+esm4"},{"binary_name":"libglib2.0-0-refdbg","binary_version":"2.40.2-0ubuntu1.1+esm4"},{"binary_version":"2.40.2-0ubuntu1.1+esm4","binary_name":"libglib2.0-bin"},{"binary_name":"libglib2.0-data","binary_version":"2.40.2-0ubuntu1.1+esm4"},{"binary_version":"2.40.2-0ubuntu1.1+esm4","binary_name":"libglib2.0-tests"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2021-3800","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5189-1.json"}},{"package":{"name":"glib2.0","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-0ubuntu4.8+esm1"}]}],"versions":["2.46.1-1","2.46.1-2","2.47.1-1","2.47.3-3","2.47.4-1","2.47.5-1","2.47.6-1","2.48.0-1ubuntu3","2.48.0-1ubuntu4","2.48.1-1~ubuntu16.04.1","2.48.2-0ubuntu1","2.48.2-0ubuntu3","2.48.2-0ubuntu4","2.48.2-0ubuntu4.1","2.48.2-0ubuntu4.2","2.48.2-0ubuntu4.3","2.48.2-0ubuntu4.4","2.48.2-0ubuntu4.5","2.48.2-0ubuntu4.6","2.48.2-0ubuntu4.7","2.48.2-0ubuntu4.8"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.48.2-0ubuntu4.8+esm1","binary_name":"libglib2.0-0"},{"binary_name":"libglib2.0-0-refdbg","binary_version":"2.48.2-0ubuntu4.8+esm1"},{"binary_name":"libglib2.0-bin","binary_version":"2.48.2-0ubuntu4.8+esm1"},{"binary_name":"libglib2.0-data","binary_version":"2.48.2-0ubuntu4.8+esm1"},{"binary_version":"2.48.2-0ubuntu4.8+esm1","binary_name":"libglib2.0-tests"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2021-3800","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5189-1.json"}},{"package":{"name":"glib2.0","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/glib2.0?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.56.4-0ubuntu0.18.04.9"}]}],"versions":["2.54.1-1ubuntu1","2.55.2-2ubuntu1","2.56.0-2ubuntu1","2.56.0-4ubuntu1","2.56.1-2ubuntu1","2.56.2-0ubuntu0.18.04.1","2.56.2-0ubuntu0.18.04.2","2.56.3-0ubuntu0.18.04.1","2.56.4-0ubuntu0.18.04.2","2.56.4-0ubuntu0.18.04.3","2.56.4-0ubuntu0.18.04.4","2.56.4-0ubuntu0.18.04.5","2.56.4-0ubuntu0.18.04.6","2.56.4-0ubuntu0.18.04.7","2.56.4-0ubuntu0.18.04.8"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.56.4-0ubuntu0.18.04.9","binary_name":"libglib2.0-0"},{"binary_name":"libglib2.0-bin","binary_version":"2.56.4-0ubuntu0.18.04.9"},{"binary_version":"2.56.4-0ubuntu0.18.04.9","binary_name":"libglib2.0-data"},{"binary_name":"libglib2.0-dev-bin","binary_version":"2.56.4-0ubuntu0.18.04.9"},{"binary_name":"libglib2.0-tests","binary_version":"2.56.4-0ubuntu0.18.04.9"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2021-3800","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5189-1.json"}}],"schema_version":"1.7.5"}