{"schema_version":"1.7.3","id":"UBUNTU-CVE-2021-38578","published":"2022-03-03T22:15:00Z","modified":"2026-02-04T03:31:59.686913Z","related":["USN-7060-1"],"upstream":["CVE-2021-38578"],"details":"Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize.","affected":[{"package":{"name":"edk2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/edk2@0~20160408.ffea0a2c-2ubuntu0.2+esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0~20160408.ffea0a2c-2ubuntu0.2+esm3"}]}],"versions":["0~20150106.5c2d456b-2","0~20160104.c2a892d7-1","0~20160408.ffea0a2c-2","0~20160408.ffea0a2c-2ubuntu0.1","0~20160408.ffea0a2c-2ubuntu0.2","0~20160408.ffea0a2c-2ubuntu0.2+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"ovmf","binary_version":"0~20160408.ffea0a2c-2ubuntu0.2+esm3"},{"binary_name":"qemu-efi","binary_version":"0~20160408.ffea0a2c-2ubuntu0.2+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38578.json"}},{"package":{"name":"edk2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/edk2@0~20180205.c0d9813c-2ubuntu0.3+esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0~20180205.c0d9813c-2ubuntu0.3+esm2"}]}],"versions":["0~20170911.5dfba97c-1","0~20171010.234dbcef-1","0~20171027.76fd5a66-1","0~20171205.a9212288-1","0~20180105.0bc94c74-1","0~20180205.c0d9813c-1","0~20180205.c0d9813c-2","0~20180205.c0d9813c-2ubuntu0.1","0~20180205.c0d9813c-2ubuntu0.2","0~20180205.c0d9813c-2ubuntu0.3","0~20180205.c0d9813c-2ubuntu0.3+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"ovmf","binary_version":"0~20180205.c0d9813c-2ubuntu0.3+esm2"},{"binary_name":"qemu-efi","binary_version":"0~20180205.c0d9813c-2ubuntu0.3+esm2"},{"binary_name":"qemu-efi-aarch64","binary_version":"0~20180205.c0d9813c-2ubuntu0.3+esm2"},{"binary_name":"qemu-efi-arm","binary_version":"0~20180205.c0d9813c-2ubuntu0.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38578.json"}},{"package":{"name":"edk2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/edk2@0~20191122.bd85bf54-2ubuntu3.6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0~20191122.bd85bf54-2ubuntu3.6"}]}],"versions":["0~20190606.20d2e5a1-2ubuntu1","0~20190828.37eef910-3","0~20190828.37eef910-4","0~20191122.bd85bf54-1","0~20191122.bd85bf54-1ubuntu1","0~20191122.bd85bf54-2","0~20191122.bd85bf54-2ubuntu1","0~20191122.bd85bf54-2ubuntu2","0~20191122.bd85bf54-2ubuntu3","0~20191122.bd85bf54-2ubuntu3.1","0~20191122.bd85bf54-2ubuntu3.2","0~20191122.bd85bf54-2ubuntu3.3","0~20191122.bd85bf54-2ubuntu3.4","0~20191122.bd85bf54-2ubuntu3.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ovmf","binary_version":"0~20191122.bd85bf54-2ubuntu3.6"},{"binary_name":"qemu-efi","binary_version":"0~20191122.bd85bf54-2ubuntu3.6"},{"binary_name":"qemu-efi-aarch64","binary_version":"0~20191122.bd85bf54-2ubuntu3.6"},{"binary_name":"qemu-efi-arm","binary_version":"0~20191122.bd85bf54-2ubuntu3.6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38578.json"}},{"package":{"name":"edk2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/edk2@2022.02-3ubuntu0.22.04.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.02-3ubuntu0.22.04.3"}]}],"versions":["2021.08~rc0-2","2021.08-3","2021.11~rc1-1","2021.11-1","2021.11-2","2022.02~rc1-1","2022.02~rc1-1ubuntu1","2022.02-1","2022.02-2","2022.02-3","2022.02-3ubuntu0.22.04.1","2022.02-3ubuntu0.22.04.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ovmf","binary_version":"2022.02-3ubuntu0.22.04.3"},{"binary_name":"ovmf-ia32","binary_version":"2022.02-3ubuntu0.22.04.3"},{"binary_name":"qemu-efi","binary_version":"2022.02-3ubuntu0.22.04.3"},{"binary_name":"qemu-efi-aarch64","binary_version":"2022.02-3ubuntu0.22.04.3"},{"binary_name":"qemu-efi-arm","binary_version":"2022.02-3ubuntu0.22.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38578.json"}}],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-38578"},{"type":"REPORT","url":"https://edk2.groups.io/g/devel/message/90516"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-38578"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7060-1"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L"},{"type":"Ubuntu","score":"medium"}]}