Vulnerability Name:

CVE-2021-3695 (CCN-228271)

Assigned:2021-08-10
Published:2022-06-07
Updated:2022-10-28
Summary:A crafted 16-bit grayscale PNG image may lead to a out-of-bounds write in the heap area. An attacker may take advantage of that to cause heap data corruption or eventually arbitrary code execution and circumvent secure boot protections. This issue has a high complexity to be exploited as an attacker needs to perform some triage over the heap layout to achieve signifcant results, also the values written into the memory are repeated three times in a row making difficult to produce valid payloads. This flaw affects grub2 versions prior grub-2.12.
CVSS v3 Severity:4.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L)
3.9 Low (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/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): Low
Integrity (I): Low
Availibility (A): Low
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-3695

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1991685

Source: XF
Type: UNKNOWN
gnu-grub2-cve20213695-code-exec(228271)

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: GENTOO
Type: Third Party Advisory
GLSA-202209-12

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20220930-0001/

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

Vulnerable Configuration:Configuration 1:
  • cpe:/a:gnu:grub:*:*:*:*:*:*:*:* (Version >= 2.0 and < 2.12)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:36:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/a:redhat:openshift:3.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:developer_tools:1.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:8.1:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_tus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_aus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian_eus:8.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian_eus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.1:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian_eus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian_eus:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/a:redhat:openshift_container_platform:4.6:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:openshift_container_platform:4.10:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:openshift_container_platform:4.9:*:*:*:*:*:*:*
  • AND
  • cpe:/o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

  • Configuration 5:
  • cpe:/a:redhat:codeready_linux_builder:-:*:*:*:*:*:*:*
  • AND
  • cpe:/o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*

  • Configuration 6:
  • cpe:/a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*

  • 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 grub *
    fedoraproject fedora 36
    redhat openshift 3.0
    redhat enterprise linux 8.0
    redhat developer tools 1.0
    redhat enterprise linux 8.1
    redhat enterprise linux eus 8.2
    redhat enterprise linux server tus 8.2
    redhat enterprise linux server aus 8.2
    redhat enterprise linux server tus 8.4
    redhat enterprise linux eus 8.4
    redhat enterprise linux server aus 8.4
    redhat enterprise linux for power little endian eus 8.2
    redhat enterprise linux for power little endian 8.0
    redhat enterprise linux for power little endian eus 8.4
    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 aus 8.6
    redhat enterprise linux server tus 8.6
    redhat enterprise linux eus 8.6
    redhat enterprise linux for power little endian eus 8.6
    redhat enterprise linux 8.4
    redhat enterprise linux server for power little endian update services for sap solutions 9.0
    redhat enterprise linux for power little endian eus 9.0
    redhat enterprise linux for power little endian 9.0
    redhat enterprise linux 9.0
    redhat enterprise linux eus 9.0
    redhat openshift container platform 4.6
    redhat openshift container platform 4.10
    redhat openshift container platform 4.9
    redhat enterprise linux 8.0
    redhat codeready linux builder -
    redhat enterprise linux 8.0
    redhat enterprise linux eus 8.2
    redhat enterprise linux eus 8.4
    redhat enterprise linux eus 8.6
    redhat enterprise linux 9.0
    redhat enterprise linux eus 9.0
    netapp ontap select deploy administration utility -
    gnu grub2 -