{"id":"CVE-2021-3697","state":"PUBLISHED","title":"A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs","description":"A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.","publishedAt":"2022-07-06T15:06:47.000Z","updatedAt":"2024-08-03T17:01:08.539Z","severity":null,"assigner":"redhat","products":["n/a grub2"],"affected":[{"vendor":"n/a","product":"grub2","versions":[{"version":"grub-2.06","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1991687","https://security.gentoo.org/glsa/202209-12","https://security.netapp.com/advisory/ntap-20220930-0001/"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3697.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3697","state":"PUBLISHED","datePublished":"2022-07-06T15:06:47.000Z","dateUpdated":"2024-08-03T17:01:08.539Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-08-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12."}],"affected":[{"vendor":"n/a","product":"grub2","versions":[{"version":"grub-2.06","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1991687","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202209-12","name":"GLSA-202209-12","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://security.netapp.com/advisory/ntap-20220930-0001/","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-09-30T15:06:20.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-3697","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"grub2","version":{"version_data":[{"version_value":"grub-2.06"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-787"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1991687","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1991687"},{"name":"GLSA-202209-12","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202209-12"},{"name":"https://security.netapp.com/advisory/ntap-20220930-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220930-0001/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1991687","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202209-12","name":"GLSA-202209-12","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220930-0001/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:01:08.539Z"}}]}}}