7.5
CWE
787
Advisory Published
CVE Published
CVE Published
Updated

CVE-2021-3697

First published: Mon Aug 09 2021(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
debian/grub2
2.06-3~deb10u1
2.06-3~deb10u3
2.06-3~deb11u5
2.06-3~deb11u4
2.06-13
2.12~rc1-9
redhat/grub2<1:2.02-123.el8_6.8
1:2.02-123.el8_6.8
redhat/grub2<1:2.02-87.el8_1.10
1:2.02-87.el8_1.10
redhat/grub2<1:2.02-87.el8_2.10
1:2.02-87.el8_2.10
redhat/grub2<1:2.02-99.el8_4.9
1:2.02-99.el8_4.9
redhat/grub2<1:2.06-27.el9_0.7
1:2.06-27.el9_0.7
redhat/grub<2.12
2.12
Gnu Grub2>=2.00<2.12
Redhat Developer Tools=1.0
Redhat Openshift=3.0
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=8.1
Redhat Enterprise Linux=8.4
Redhat Enterprise Linux=9.0
Redhat Enterprise Linux Eus=8.2
Redhat Enterprise Linux Eus=8.4
Redhat Enterprise Linux Eus=8.6
Redhat Enterprise Linux Eus=9.0
Redhat Enterprise Linux For Power Little Endian=8.0
Redhat Enterprise Linux For Power Little Endian=9.0
Redhat Enterprise Linux For Power Little Endian Eus=8.2
Redhat Enterprise Linux For Power Little Endian Eus=8.4
Redhat Enterprise Linux For Power Little Endian Eus=8.6
Redhat Enterprise Linux For Power Little Endian Eus=9.0
Redhat Enterprise Linux Server Aus=8.2
Redhat Enterprise Linux Server Aus=8.4
Redhat Enterprise Linux Server Aus=8.6
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.1
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.2
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.4
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.6
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=9.0
Redhat Enterprise Linux Server Tus=8.2
Redhat Enterprise Linux Server Tus=8.4
Redhat Enterprise Linux Server Tus=8.6
Redhat Openshift Container Platform=4.6
Redhat Openshift Container Platform=4.9
Redhat Openshift Container Platform=4.10
Redhat Enterprise Linux=8.0
Redhat Codeready Linux Builder
Redhat Enterprise Linux=9.0
Redhat Enterprise Linux Eus=8.2
Redhat Enterprise Linux Eus=8.4
Redhat Enterprise Linux Eus=8.6
Redhat Enterprise Linux Eus=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-3697?

    CVE-2021-3697 is a vulnerability in grub2 that allows an attacker to craft a malicious JPEG image, leading to a heap underflow and potential remote code execution.

  • How can an attacker exploit CVE-2021-3697?

    An attacker can exploit CVE-2021-3697 by creating a specially crafted JPEG image that triggers a heap underflow when processed by the grub2 JPEG reader, allowing them to execute arbitrary code.

  • Which software versions are affected by CVE-2021-3697?

    CVE-2021-3697 affects grub2 versions up to, but not including, 2.12.

  • How can I fix CVE-2021-3697?

    To fix CVE-2021-3697, you should update your grub2 package to version 2.12 or later, as provided by the respective vendor's patch or security advisory.

  • What is the severity of CVE-2021-3697?

    CVE-2021-3697 has a severity rating of high, with a CVSSv3 base score of 7.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203