5.5
MEDIUM CVSS 3.1
CVE-2021-46659
MariaDB Extensive SQL Injection Vulnerability
Description

MariaDB before 10.7.2 allows an application crash because it does not recognize that SELECT_LEX::nest_level is local to each VIEW.

INFO

Published Date :

Jan. 29, 2022, 11:15 p.m.

Last Modified :

Nov. 21, 2024, 6:34 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2021-46659 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Mariadb mariadb
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 LOW [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
A SQL injection vulnerability exists; updating MariaDB and associated packages is recommended.
  • Update MariaDB to the latest version.
  • If applicable, update related packages.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-46659 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-46659 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-46659 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-46659 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://jira.mariadb.org/browse/MDEV-25631
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
    Added Reference https://mariadb.com/kb/en/security/
    Added Reference https://security.netapp.com/advisory/ntap-20220311-0003/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
  • Modified Analysis by [email protected]

    Jun. 30, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/ Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/ Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/ Mailing List, Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 08, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/ [No Types Assigned]
  • CVE Modified by [email protected]

    May. 07, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Apr. 25, 2022

    Action Type Old Value New Value
    Changed Reference Type https://mariadb.com/kb/en/security/ No Types Assigned https://mariadb.com/kb/en/security/ Release Notes, Vendor Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20220311-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20220311-0003/ Third Party Advisory
  • CVE Modified by [email protected]

    Mar. 15, 2022

    Action Type Old Value New Value
    Added Reference https://mariadb.com/kb/en/security/ [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 11, 2022

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20220311-0003/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 04, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://jira.mariadb.org/browse/MDEV-25631 No Types Assigned https://jira.mariadb.org/browse/MDEV-25631 Exploit, Vendor Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 5.5.0 up to (excluding) 10.2.42 *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.3.0 up to (excluding) 10.3.33 *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.4.0 up to (excluding) 10.4.23 *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.5.0 up to (excluding) 10.5.14 *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.6.0 up to (excluding) 10.6.6 *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.7.0 up to (excluding) 10.7.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 2.1
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} 0.01%

score

0.13932

percentile