Skip to content
Fencer Vulns
medium 4.4

CVE-2022-21522 json

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Stored Procedure).

published 2022-07-19 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-26746

cvss
4.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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

Patch / fix

  • mysql-8.0 Ubuntu 20.04 LTS 8.0.30-0ubuntu0.20.04.2
  • mysql-8.0 Ubuntu 22.04 LTS 8.0.30-0ubuntu0.22.04.1

ubuntu advisories UBUNTU-CVE-2022-21522

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mecab RHEL 8 0.996-2.module+el8.6.0+16523+5cb0e868
  • mysql RHEL 8 8.0.30-1.module+el8.6.0+16523+5cb0e868
  • mysql-libs RHEL 8 8.0.30-1.module+el8.6.0+16523+5cb0e868
  • mysql-test RHEL 8 8.0.30-1.module+el8.6.0+16523+5cb0e868
  • mecab-ipadic RHEL 8 2.7.0.20070801-16.module+el8.0.0+3898+e09bb8de
  • mysql-common RHEL 8 8.0.30-1.module+el8.6.0+16523+5cb0e868
  • mysql-errmsg RHEL 8 8.0.30-1.module+el8.6.0+16523+5cb0e868
  • mysql-server RHEL 8 8.0.30-1.module+el8.6.0+16523+5cb0e868

red hat advisories RHSA-2022:7119RHSA-2022:6518RHSA-2022:6590

  • mecab AlmaLinux 8 0.996-2.module_el8.6.0+3340+d764b636
  • mysql AlmaLinux 8 8.0.30-1.module_el8.6.0+3340+d764b636
  • mysql-libs AlmaLinux 8 8.0.30-1.module_el8.6.0+3340+d764b636
  • mysql-test AlmaLinux 8 8.0.30-1.module_el8.6.0+3340+d764b636
  • mecab-ipadic AlmaLinux 8 2.7.0.20070801-16.module_el8.6.0+3340+d764b636
  • mecab-ipadic AlmaLinux 8 2.7.0.20070801-16.module_el8.6.0+3151+3a7073b7
  • mysql-common AlmaLinux 8 8.0.30-1.module_el8.6.0+3340+d764b636
  • mysql-errmsg AlmaLinux 8 8.0.30-1.module_el8.6.0+3340+d764b636

almalinux advisories ALSA-2022:7119ALSA-2022:6590

  • mecab Rocky Linux 8 0.996-2.module+el8.6.0+1057+4d6a1721
  • mysql Rocky Linux 8 8.0.30-1.module+el8.6.0+1057+4d6a1721
  • mecab-ipadic Rocky Linux 8 2.7.0.20070801-16.module+el8.3.0+242+87d3366a
  • mysql Rocky Linux 9 8.0.30-3.el9_0

rocky linux advisories RLSA-2022:7119RLSA-2022:6590

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-21522 updated cvss 4.4

mysql: Server: Stored Procedure unspecified vulnerability (CPU Jul 2022)

  • Red Hat CodeReady Linux Builder (v. 9) mysql-libs 8.0.30-3.el9_0, mysql-test 8.0.30-3.el9_0
    fixed: vendor fix RHSA-2022:6590
  • Red Hat Enterprise Linux AppStream (v. 8) mecab 0.996-2.module+el8.6.0+16523+5cb0e868, mysql 8.0.30-1.module+el8.6.0+16523+5cb0e868, mysql-libs 8.0.30-1.module+el8.6.0+16523+5cb0e868, mysql-test 8.0.30-1.module+el8.6.0+16523+5cb0e868, mysql-common 8.0.30-1.module+el8.6.0+16523+5cb0e868, mysql-errmsg 8.0.30-1.module+el8.6.0+16523+5cb0e868, +3 more
    fixed: vendor fix RHSA-2022:7119
  • Red Hat Enterprise Linux AppStream (v. 9) mysql 8.0.30-3.el9_0, mysql-common 8.0.30-3.el9_0, mysql-errmsg 8.0.30-3.el9_0, mysql-server 8.0.30-3.el9_0
    fixed: vendor fix RHSA-2022:6590
  • Red Hat Software Collections for RHEL Workstation(v. 7) rh-mysql80-mysql 8.0.30-1.el7, rh-mysql80-mysql-test 8.0.30-1.el7, rh-mysql80-mysql-common 8.0.30-1.el7, rh-mysql80-mysql-config 8.0.30-1.el7, rh-mysql80-mysql-errmsg 8.0.30-1.el7, rh-mysql80-mysql-server 8.0.30-1.el7, +4 more Red Hat Software Collections for RHEL(v. 7) rh-mysql80-mysql 8.0.30-1.el7, rh-mysql80-mysql-test 8.0.30-1.el7, rh-mysql80-mysql-common 8.0.30-1.el7, rh-mysql80-mysql-config 8.0.30-1.el7, rh-mysql80-mysql-errmsg 8.0.30-1.el7, rh-mysql80-mysql-server 8.0.30-1.el7, +4 more
    fixed: vendor fix RHSA-2022:6518
  • Red Hat Enterprise Linux 6 mysql, mysql-libs, mysql-test, mysql-bench, mysql-server, mysql-embedded Red Hat Enterprise Linux 7 mariadb, mariadb-libs, mariadb-test, mariadb-bench, mariadb-server, mariadb-embedded Red Hat Enterprise Linux 8 Judy, galera, mariadb, mariadb-pam, mariadb-test, mariadb-backup, +8 more Red Hat Enterprise Linux 9 mariadb, mariadb-pam, mariadb-test, mariadb-backup, mariadb-common, mariadb-errmsg, +6 more Red Hat OpenStack Platform 13 (Queens) mariadb, mariadb-libs, mariadb-test, mariadb-common, mariadb-config, mariadb-errmsg, +3 more Red Hat Software Collections rh-mariadb103-mariadb, rh-mariadb105-mariadb, rh-mariadb105-mariadb-pam, rh-mariadb103-mariadb-test, rh-mariadb105-mariadb-libs, rh-mariadb105-mariadb-test, +32 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.68% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Oracle Corporation MySQL Server

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.