Vulnerability Name:

CVE-2021-46658 (CCN-219003)

Assigned:2021-05-10
Published:2021-05-10
Updated:2022-07-12
Summary:save_window_function_values in MariaDB before 10.6.3 allows an application crash because of incorrect handling of with_window_func=true for a subquery.
CVSS v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
5.0 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
5.5 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
5.0 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
5.5 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
5.0 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-noinfo
CWE-20
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2021-46658

Source: XF
Type: UNKNOWN
mariadb-cve202146658-dos(219003)

Source: CCN
Type: MDEV-25630
Crash with window function in left expr of IN subquery

Source: MISC
Type: Exploit, Issue Tracking, Patch, Vendor Advisory
https://jira.mariadb.org/browse/MDEV-25630

Source: CONFIRM
Type: Patch, Vendor Advisory
https://mariadb.com/kb/en/security/

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

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-46658

Vulnerable Configuration:Configuration 1:
  • cpe:/a:mariadb:mariadb:*:*:*:*:*:*:*:* (Version >= 10.2.0 and < 10.2.40)
  • OR cpe:/a:mariadb:mariadb:*:*:*:*:*:*:*:* (Version >= 10.3.0 and < 10.3.31)
  • OR cpe:/a:mariadb:mariadb:*:*:*:*:*:*:*:* (Version >= 10.4.0 and < 10.4.21)
  • OR cpe:/a:mariadb:mariadb:*:*:*:*:*:*:*:* (Version >= 10.5.0 and < 10.5.12)
  • OR cpe:/a:mariadb:mariadb:*:*:*:*:*:*:*:* (Version >= 10.6.0 and < 10.6.3)

  • Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:mariadb:mariadb:5.5.25:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.5.28a:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.3.11:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.2.13:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.1.66:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.1.67:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.2.14:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.3.12:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.5.29:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:5.5.54:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.0.29:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.1.21:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.0.33:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.1.29:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.2.9:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.4.7:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.4.11:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.1.40:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.2.30:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.3.20:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.4.14:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.5.5:*:*:*:*:*:*:*
  • OR cpe:/a:mariadb:mariadb:10.5.9:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:95402
    P
    Security update for mariadb (Important)
    2022-07-27
    oval:org.opensuse.security:def:602
    P
    Security update for mariadb (Important)
    2022-07-27
    oval:org.opensuse.security:def:3769
    P
    Security update for mariadb (Important)
    2022-07-27
    oval:org.opensuse.security:def:3491
    P
    ft2demos-2.6.3-7.15.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:95121
    P
    libmariadbd-devel-10.6.7-150400.1.4 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:809
    P
    Security update for mariadb (Important)
    2022-04-29
    oval:com.redhat.rhsa:def:20221556
    P
    RHSA-2022:1556: mariadb:10.3 security and bug fix update (Moderate)
    2022-04-26
    oval:com.redhat.rhsa:def:20221557
    P
    RHSA-2022:1557: mariadb:10.5 security, bug fix, and enhancement update (Moderate)
    2022-04-26
    oval:org.opensuse.security:def:125814
    P
    Security update for mariadb (Important)
    2022-03-09
    oval:org.opensuse.security:def:6186
    P
    Security update for mariadb (Important)
    2022-03-09
    oval:org.opensuse.security:def:126977
    P
    Security update for mariadb (Important)
    2022-03-09
    oval:org.opensuse.security:def:127375
    P
    Security update for mariadb (Important)
    2022-03-09
    oval:org.opensuse.security:def:119696
    P
    Security update for mariadb (Important)
    2022-03-04
    oval:org.opensuse.security:def:119134
    P
    Security update for mariadb (Important)
    2022-03-04
    oval:org.opensuse.security:def:119328
    P
    Security update for mariadb (Important)
    2022-03-04
    oval:org.opensuse.security:def:118833
    P
    Security update for mariadb (Important)
    2022-03-04
    oval:org.opensuse.security:def:102252
    P
    Security update for mariadb (Important)
    2022-03-04
    oval:org.opensuse.security:def:119511
    P
    Security update for mariadb (Important)
    2022-03-04
    oval:org.opensuse.security:def:119023
    P
    Security update for mariadb (Important)
    2022-03-04
    oval:org.opensuse.security:def:1691
    P
    Security update for mariadb (Important)
    2022-03-04
    BACK
    mariadb mariadb *
    mariadb mariadb *
    mariadb mariadb *
    mariadb mariadb *
    mariadb mariadb *
    mariadb mariadb 5.5.25
    mariadb mariadb 5.5.28a
    mariadb mariadb 5.3.11
    mariadb mariadb 5.2.13
    mariadb mariadb 5.1.66
    mariadb mariadb 5.1.67
    mariadb mariadb 5.2.14
    mariadb mariadb 5.3.12
    mariadb mariadb 5.5.29
    mariadb mariadb 5.5.54
    mariadb mariadb 10.0.29
    mariadb mariadb 10.1.21
    mariadb mariadb 10.2.3
    mariadb mariadb 10.0.33
    mariadb mariadb 10.1.29
    mariadb mariadb 10.2.9
    mariadb mariadb 10.4.7
    mariadb mariadb 10.4.11
    mariadb mariadb 10.1.40
    mariadb mariadb 10.2.30
    mariadb mariadb 10.3.20
    mariadb mariadb 10.4.14
    mariadb mariadb 10.5.5
    mariadb mariadb 10.5.9