CVE-2021-2389: Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB).

Medium CVSS 5.9

CVE id
CVE-2021-2389
Published
Last modified

Affected packages

PackageAffected versionsFixed in
MariaDB
Runtimes and servers
>= 10.2.0, < 10.2.40
>= 10.3.0, < 10.3.31
>= 10.4.0, < 10.4.21
>= 10.5.0, < 10.5.12
>= 10.6.0, < 10.6.4
10.2.40, 10.3.31, 10.4.21, 10.5.12, 10.6.4
MySQL
Runtimes and servers
>= 5.7.0, <= 5.7.34
>= 8.0.0, <= 8.0.25
after 5.7.34, 8.0.25

How to fix it

MariaDB (Runtimes and servers)

Upgrade MariaDB to the fixed release of the line you run: 10.2.40, 10.3.31, 10.4.21, 10.5.12, 10.6.4.

mariadbd --version
  • Install the patched MariaDB release of your series (the mariadb image tag or your packages) and restart the server.

MySQL (Runtimes and servers)

Upgrade MySQL to a release newer than the last affected update of the line you run (5.7.34, 8.0.25).

mysqld --version
  • Install the patched MySQL release of your series (the mysql image tag or the MySQL packages) and restart the server.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.7.34 and prior and 8.0.25 and prior. Difficult to exploit vulnerability allows unauthenticated 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 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).

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.