oesa-2022-1616
Vulnerability from osv_openeuler
MariaDB is a community developed fork from MySQL - a multi-user, multi-threaded SQL database server. It is a client/server implementation consisting of a server daemon (mariadbd) and many different client programs and libraries. The base package contains the standard MariaDB/MySQL client programs and utilities.
MariaDB turns data into structured information in a wide array of applications, ranging from banking to websites. It is an enhanced, drop-in replacement for MySQL. MariaDB is used because it is fast, scalable and robust, with a rich ecosystem of storage engines, plugins and many other tools make it very versatile for a wide variety of use cases.
Security Fix(es):
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.(CVE-2021-46658)
MariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements that improperly interact with storage-engine resource limitations for temporary data structures.(CVE-2021-46668)
MariaDB CONNECT Storage Engine Format String 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 a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16193.(CVE-2022-24051)
MariaDB CONNECT Storage Engine Use-After-Free 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 validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16207.(CVE-2022-24050)
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.(CVE-2022-24048)
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"mariadb-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-config-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-common-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-embedded-devel-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-test-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-server-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-devel-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-server-galera-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-embedded-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-backup-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-gssapi-server-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-errmsg-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-debugsource-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-debuginfo-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-oqgraph-engine-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-pam-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-rocksdb-engine-10.5.15-2.oe2203.aarch64.rpm",
"mariadb-server-utils-10.5.15-2.oe2203.aarch64.rpm"
],
"src": [
"mariadb-10.5.15-2.oe2203.src.rpm"
],
"x86_64": [
"mariadb-gssapi-server-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-common-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-backup-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-debugsource-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-debuginfo-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-devel-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-errmsg-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-embedded-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-oqgraph-engine-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-embedded-devel-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-config-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-server-galera-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-server-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-test-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-pam-10.5.15-2.oe2203.x86_64.rpm",
"mariadb-server-utils-10.5.15-2.oe2203.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS",
"name": "mariadb",
"purl": "pkg:rpm/openEuler/mariadb\u0026distro=openEuler-22.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "10.5.15-2.oe2203"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "High"
},
"details": "MariaDB is a community developed fork from MySQL - a multi-user, multi-threaded SQL database server. It is a client/server implementation consisting of a server daemon (mariadbd) and many different client programs and libraries. The base package contains the standard MariaDB/MySQL client programs and utilities.\r\n\r\nMariaDB turns data into structured information in a wide array of applications, ranging from banking to websites. It is an enhanced, drop-in replacement for MySQL. MariaDB is used because it is fast, scalable and robust, with a rich ecosystem of storage engines, plugins and many other tools make it very versatile for a wide variety of use cases.\r\n\r\nSecurity Fix(es):\r\n\r\nsave_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.(CVE-2021-46658)\n\nMariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements that improperly interact with storage-engine resource limitations for temporary data structures.(CVE-2021-46668)\n\nMariaDB CONNECT Storage Engine Format String 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 a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16193.(CVE-2022-24051)\r\n\nMariaDB CONNECT Storage Engine Use-After-Free 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 validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16207.(CVE-2022-24050)\n\r\nMariaDB 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.(CVE-2022-24048)",
"id": "OESA-2022-1616",
"modified": "2026-08-06T11:04:53Z",
"published": "2022-04-16T11:04:53Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1616"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46658"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46668"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24051"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24050"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24048"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "mariadb security update",
"upstream": [
"CVE-2021-46658",
"CVE-2021-46668",
"CVE-2022-24051",
"CVE-2022-24050",
"CVE-2022-24048"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.