Vulnerability Name:

CVE-2021-3697 (CCN-228273)

Assigned:2021-08-10
Published:2022-06-07
Updated:2023-02-23
Summary: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.
CVSS v3 Severity:7.0 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.1 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.5 High (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H)
6.5 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.4 Medium (CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.0 Medium (CCN CVSS v2 Vector: AV:L/AC:H/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-787
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-3697

Source: secalert@redhat.com
Type: Issue Tracking, Third Party Advisory
secalert@redhat.com

Source: XF
Type: UNKNOWN
gnu-grub2-cve20213697-code-exec(228273)

Source: CCN
Type: grub.git Web site
summary

Source: CCN
Type: oss-sec Mailing List, Tue, 7 Jun 2022 19:04:13 +0000
[SECURITY PATCH 00/30] Multiple GRUB2 vulnerabilities - 2022/06/07 round

Source: secalert@redhat.com
Type: Third Party Advisory
secalert@redhat.com

Source: secalert@redhat.com
Type: Third Party Advisory
secalert@redhat.com

Source: CCN
Type: Mend Vulnerability Database
CVE-2021-3697

Vulnerable Configuration:Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*
  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::crb:*:*:*:*:*
  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:8:*:*:*:*:*:*:*
  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:8::baseos:*:*:*:*:*
  • Configuration RedHat 5:
  • cpe:/a:redhat:enterprise_linux:9:*:*:*:*:*:*:*
  • Configuration RedHat 6:
  • cpe:/a:redhat:enterprise_linux:9::crb:*:*:*:*:*
  • Configuration RedHat 7:
  • cpe:/o:redhat:enterprise_linux:9:*:*:*:*:*:*:*
  • Configuration RedHat 8:
  • cpe:/o:redhat:enterprise_linux:9::baseos:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:gnu:grub2:-:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7519
    P
    grub2-2.06-150500.27.4 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3613
    P
    libjavascriptcoregtk-4_0-18-2.24.4-2.47.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3758
    P
    procmail-3.22-269.3.5 on GA media (Moderate)
    2022-06-28
    oval:com.redhat.rhsa:def:20225095
    P
    RHSA-2022:5095: grub2, mokutil, shim, and shim-unsigned-x64 security update (Important)
    2022-06-16
    oval:com.redhat.rhsa:def:20225099
    P
    RHSA-2022:5099: grub2, mokutil, shim, and shim-unsigned-x64 security update (Important)
    2022-06-16
    oval:org.opensuse.security:def:118925
    P
    Security update for grub2 (Important)
    2022-06-14
    oval:org.opensuse.security:def:119230
    P
    Security update for grub2 (Important)
    2022-06-14
    oval:org.opensuse.security:def:119420
    P
    Security update for grub2 (Important)
    2022-06-14
    oval:org.opensuse.security:def:118735
    P
    Security update for grub2 (Important)
    2022-06-14
    oval:org.opensuse.security:def:42299
    P
    Security update for grub2 (Important)
    2022-06-14
    oval:org.opensuse.security:def:119605
    P
    Security update for grub2 (Important)
    2022-06-14
    oval:org.opensuse.security:def:42395
    P
    Security update for grub2 (Important)
    2022-06-13
    oval:org.opensuse.security:def:912
    P
    Security update for grub2 (Important)
    2022-06-13
    oval:org.opensuse.security:def:1675
    P
    Security update for grub2 (Important)
    2022-06-13
    oval:org.opensuse.security:def:94245
    P
    (Important)
    2022-06-10
    oval:org.opensuse.security:def:125731
    P
    Security update for grub2 (Important)
    2022-06-10
    oval:org.opensuse.security:def:95391
    P
    Security update for grub2 (Important)
    2022-06-10
    oval:org.opensuse.security:def:93614
    P
    (Important)
    2022-06-10
    oval:org.opensuse.security:def:94454
    P
    (Important)
    2022-06-10
    oval:org.opensuse.security:def:93142
    P
    (Important)
    2022-06-10
    oval:org.opensuse.security:def:126896
    P
    Security update for grub2 (Important)
    2022-06-10
    oval:org.opensuse.security:def:6068
    P
    Security update for grub2 (Important)
    2022-06-10
    oval:org.opensuse.security:def:93819
    P
    (Important)
    2022-06-10
    oval:org.opensuse.security:def:95243
    P
    Security update for grub2 (Important)
    2022-06-10
    oval:org.opensuse.security:def:93302
    P
    (Important)
    2022-06-10
    oval:org.opensuse.security:def:127293
    P
    Security update for grub2 (Important)
    2022-06-10
    oval:org.opensuse.security:def:94033
    P
    (Important)
    2022-06-10
    oval:org.opensuse.security:def:95385
    P
    Security update for grub2 (Important)
    2022-06-10
    oval:org.opensuse.security:def:93460
    P
    (Important)
    2022-06-10
    oval:org.opensuse.security:def:519
    P
    Security update for grub2 (Important)
    2022-06-10
    BACK
    gnu grub2 -