Heap-based Buffer Overflow Affecting mariadb-10.5 package, versions <1:10.5.15-0+deb11u1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN11-MARIADB105-2396504
- published 10 Feb 2022
- disclosed 18 Feb 2022
Introduced: 10 Feb 2022
CVE-2022-24052 Open this link in a new tabHow to fix?
Upgrade Debian:11
mariadb-10.5
to version 1:10.5.15-0+deb11u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream mariadb-10.5
package and not the mariadb-10.5
package as distributed by Debian
.
See How to fix?
for Debian:11
relevant fixed versions and status.
MariaDB CONNECT Storage Engine Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of SQL queries. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16190.
References
- https://security-tracker.debian.org/tracker/CVE-2022-24052
- https://mariadb.com/kb/en/security/
- https://www.zerodayinitiative.com/advisories/ZDI-22-367/
- https://security.netapp.com/advisory/ntap-20220318-0004/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/