CVE-2021-46658: 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.

Medium CVSS 5.5

CVE id
CVE-2021-46658
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.3
10.2.40, 10.3.31, 10.4.21, 10.5.12, 10.6.3

How to fix it

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.3.

mariadbd --version
  • Install the patched MariaDB release of your series (the mariadb image tag or your 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

savewindowfunctionvalues in MariaDB before 10.6.3 allows an application crash because of incorrect handling of withwindow_func=true for a subquery.

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.