Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-2011

Vulnerability in the MySQL Client product of Oracle MySQL (component: C API). Supported versions that are affected are 5.7.32 and prior and 8.0.22 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Client. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Client. CVSS 3.1 Base Score 5.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-2011
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:26 UTC · Revision 1

Source evidence

CVE-2021-2011

core-osv · Original source

Published 20 Jan 2021, 15:15 UTC

Vulnerability in the MySQL Client product of Oracle MySQL (component: C API). Supported versions that are affected are 5.7.32 and prior and 8.0.22 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Client. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Client. CVSS 3.1 Base Score 5.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

osv:CVE-2021-2011
Complete source record
{
  "id": "9b3aefd3eec4015ae0018611da6d306dc60c8d6744017ed5aa7c84e1c267a998",
  "url": "https://osv.dev/vulnerability/CVE-2021-2011",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-2011",
    "summary": "Vulnerability in the MySQL Client product of Oracle MySQL (component: C API). Supported versions that are affected are 5.7.32 and prior and 8.0.22 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Client. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Client. CVSS 3.1 Base Score 5.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).",
    "evidence": "osv:CVE-2021-2011",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-2011",
      "aliases": [
        "BIT-mariadb-2021-2011",
        "BIT-mariadb-min-2021-2011",
        "BIT-mysql-client-2021-2011",
        "CVE-2021-2011"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mariadb/server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5bfe1a3917ee1bddc7f2cde0c88961875148873c"
                },
                {
                  "fixed": "e48d775c6f066add457fa8cfb2ebc4d5ff0c7613"
                },
                {
                  "introduced": "776555af021e917ce0d6235386b43ae59fdd5161"
                },
                {
                  "fixed": "2e5681a450627709512138a7d15b8ee035a29c6a"
                },
                {
                  "introduced": "c235de12ae3723b96944337bd89ad9cc87f21d8f"
                },
                {
                  "fixed": "1025363a35571d5a0ba7023287104d23c7aa61d5"
                },
                {
                  "introduced": "9664240c948a92c22ccda0e1f5a420eb776ddcb1"
                },
                {
                  "fixed": "bb045e7931c451b228ffc5bcdb1791a31eb0c852"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.5.0"
                      },
                      {
                        "fixed": "5.5.61"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.0.35"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.1.0"
                      },
                      {
                        "fixed": "10.1.33"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.2.0"
                      },
                      {
                        "fixed": "10.2.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "mariadb-10.2.13",
            "mariadb-10.2.14",
            "mariadb-10.1.32",
            "mariadb-10.1.31",
            "mariadb-10.2.12",
            "mariadb-10.1.30",
            "mariadb-10.2.11",
            "mariadb-10.1.29",
            "mariadb-10.2.10",
            "mariadb-10.1.28",
            "mariadb-10.1.27",
            "mariadb-10.1.26",
            "mariadb-10.1.25",
            "mariadb-10.1.24",
            "mariadb-10.1.23",
            "mariadb-10.2.5",
            "mariadb-10.1.22",
            "mariadb-10.1.21",
            "mariadb-10.1.20",
            "mariadb-10.1.19",
            "mariadb-10.1.18",
            "mariadb-10.2.2",
            "mariadb-10.1.17",
            "mariadb-10.1.16",
            "mariadb-10.2.1",
            "mariadb-10.1.15",
            "mariadb-10.1.14",
            "mariadb-10.2.0",
            "mariadb-10.1.13",
            "mariadb-10.1.12",
            "mariadb-10.1.11",
            "mariadb-10.1.10",
            "mariadb-10.1.9",
            "mariadb-10.1.8",
            "mariadb-10.1.7",
            "mariadb-10.1.6",
            "mariadb-10.1.5",
            "mariadb-10.1.4",
            "mariadb-10.1.3",
            "mariadb-10.1.2",
            "mariadb-10.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-2011.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-2011-054c046b",
                "digest": {
                  "length": 3281,
                  "function_hash": "88964842003053574630259804416355278302"
                },
                "source": "https://github.com/mariadb/server/commit/e48d775c6f066add457fa8cfb2ebc4d5ff0c7613",
                "target": {
                  "file": "sql-common/client.c",
                  "function": "unpack_fields"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-2011-404642c2",
                "digest": {
                  "length": 2052,
                  "function_hash": "30804943894516639331708306752096632231"
                },
                "source": "https://github.com/mariadb/server/commit/e48d775c6f066add457fa8cfb2ebc4d5ff0c7613",
                "target": {
                  "file": "sql-common/client.c",
                  "function": "cli_read_rows"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-2011-c0d67519",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "78191142045503767829834019020932019650",
                    "250157719937173868004615858289264688140",
                    "312170375706132797718465719883724591296",
                    "15117071355854376419182426407334479680",
                    "140920309514825384561268578794081140775",
                    "130933521110411440899075290412605664940",
                    "28770826883863233939468445958714821618",
                    "49331132400223798885681869446783630656"
                  ]
                },
                "source": "https://github.com/mariadb/server/commit/e48d775c6f066add457fa8cfb2ebc4d5ff0c7613",
                "target": {
                  "file": "sql-common/client.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:24:40Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/mysql/mysql-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "2032b65c44e242a7e452a38bf7626dfacc315b9c"
                },
                {
                  "introduced": "270fd3411e3d671a73ed9725940a30080f59ce6d"
                },
                {
                  "last_affected": "ee4455a33b10f1b1886044322e4893f587b319ed"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.7.0"
                      },
                      {
                        "last_affected": "5.7.32"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "last_affected": "8.0.22"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "mysql-cluster-8.0.22",
            "mysql-8.0.22",
            "mysql-5.7.32",
            "mysql-5.7.31",
            "mysql-5.1.4",
            "mysql-4.0.4",
            "mysql-4.0.2",
            "mysql-3.23.36",
            "mysql-3.23.33",
            "mysql-3.23.32",
            "mysql-3.23.31",
            "mysql-3.23.30-gamma",
            "mysql-3.23.28-gamma",
            "mysql-3.23.22-beta"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-2011.json"
          }
        }
      ],
      "modified": "2026-10-24T14:24:40.041861870Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CS5THZSGI7O2CZO44NWYE57AG2T7NK3K/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T7EAHJPWOOF4D6PEFLXW5IQWRRSZ3HRC/",
        "https://security.gentoo.org/glsa/202105-27",
        "https://security.netapp.com/advisory/ntap-20210622-0001/",
        "https://www.oracle.com/security-alerts/cpujan2021.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "mariadb:mariadb",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.5.0"
                  },
                  {
                    "fixed": "5.5.61"
                  },
                  {
                    "introduced": "10.0.0"
                  },
                  {
                    "fixed": "10.0.35"
                  },
                  {
                    "introduced": "10.1.0"
                  },
                  {
                    "fixed": "10.1.33"
                  },
                  {
                    "introduced": "10.2.0"
                  },
                  {
                    "fixed": "10.2.15"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  },
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-2011",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443718,
  "published_at": "2021-01-20T15:15:45.923+00:00"
}