CVE-2021-46659

NameCVE-2021-46659
DescriptionMariaDB before 10.7.2 allows an application crash because it does not recognize that SELECT_LEX::nest_level is local to each VIEW.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesELA-1189-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mariadb-10.1 (PTS)stretch (security)10.1.48-0+deb9u2vulnerable
stretch (lts), stretch10.1.48-0+deb9u5fixed
mariadb-10.3 (PTS)buster, buster (lts)1:10.3.39-0+deb10u3fixed
buster (security)1:10.3.39-0+deb10u2fixed
mariadb-10.5 (PTS)bullseye1:10.5.23-0+deb11u1fixed
bullseye (security)1:10.5.26-0+deb11u2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mariadb-10.1sourcestretch10.1.48-0+deb9u4ELA-1189-1
mariadb-10.1source(unstable)(unfixed)
mariadb-10.3sourcebuster1:10.3.34-0+deb10u1
mariadb-10.3source(unstable)(unfixed)
mariadb-10.5sourcebullseye1:10.5.15-0+deb11u1
mariadb-10.5source(unstable)(unfixed)
mariadb-10.6source(unstable)1:10.6.7-1

Notes

MariaDB Bug: https://jira.mariadb.org/browse/MDEV-25631
MariaDB commit: https://github.com/MariaDB/server/commit/7692cec5b0811c09f09b1f6215fc07163ad0db3a (mariadb-10.2.42)
Fixed in MariaDB: 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2

Search for package or bug name: Reporting problems