Vulnerabilities · 2022 · Mariadb
CVE-2022-24048
Mariadb vulnerability
MariaDB CONNECT Storage Engine Stack-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 stack-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-16191.
Affected products
Mariadb, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mariadb runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- mariadb.com/kb/en/security/ · Patch
- security.netapp.com/advisory/ntap-20220318-0004/ · Third Party Advisory
- www.zerodayinitiative.com/advisories/ZDI-22-363/ · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N
- nvd.nist.gov/vuln/detail/CVE-2022-24048
- cve.org/CVERecord?id=CVE-2022-24048
More vulnerabilities in Mariadb products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.