Segmentation Fault in MariaDB Server v10.9 and below
Summary
CVE-2022-27445: MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/sql_window.cc. Affects mariadb across 2 version ranges.
< 10.4.25-r0
>= 9664240c948a92c22ccda0e1f5a420eb776ddcb1, < 0ba528fe56f6c637d9fbc9d177a62610038fd519
Fixed in 10.4.25-r0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
MariaDB Server is an open-source relational database management system. It provides a robust and scalable solution for storing and retrieving data. The server is widely used in various applications and environments. However, versions 10.9 and below are vulnerable to a segmentation fault in the sql/sql_window.cc component.
Vulnerability Detail
The vulnerability (CVE-2022-27445) in MariaDB Server v10.9 and below can lead to a segmentation fault. This can be exploited by an attacker to crash the server, causing a denial of service (DoS) condition. The vulnerability originates from a flaw in the sql/sql_window.cc component. It is important to note that this vulnerability does not directly allow for remote code execution or unauthorized access to data.
How To Fix
Minimum fixed version
10.4.25-r0
This is the first release that contains the fix.
sudo apk add --upgrade mariadb
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is necessary to apply the recommended fix by upgrading to a fixed version of MariaDB Server.
Conclusion
The segmentation fault vulnerability in MariaDB Server v10.9 and below can lead to a denial of service (DoS) condition. It is crucial to upgrade to a fixed version of MariaDB Server (10.4.25-r0, 10.5.16-r0, or 10.6.8-r0) to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for mariadb →
FAQ
The vulnerability can lead to a segmentation fault and cause the MariaDB Server to crash, resulting in a denial of service (DoS) condition. However, it does not directly allow for remote code execution or unauthorized access to data.
Versions 10.9 and below of MariaDB Server are affected by this vulnerability.
There are no known exploits for this vulnerability at the time of this report. However, it is important to apply the recommended fix to mitigate the risk of a DoS attack.
No, there is no known workaround for this vulnerability. It is necessary to upgrade to a fixed version of MariaDB Server.
You can find more information about this vulnerability in the CVE-2022-27445.json file available at the following source: https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27445.json
Related vulnerabilities
Recent vulnerabilities recorded for mariadb.