Denial of Service Vulnerability in MariaDB - CVE-2017-10378
Summary
ALPINE-CVE-2017-10378: Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Optimizer). Affects mariadb versions < 10.1.32-r0. Fixed in 10.1.32-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 is an open-source relational database management system that is widely used as an alternative to MySQL. It offers features such as high performance, scalability, and a rich set of functionalities for managing data. However, certain versions of MariaDB are vulnerable to a Denial of Service (DoS) attack due to a flaw in the MySQL Server component, specifically in the Optimizer subcomponent.
Vulnerability Detail
The vulnerability identified as CVE-2017-10378 allows low-privileged attackers with network access to exploit the MySQL Server component of Oracle MySQL. This vulnerability affects versions 5.5.57 and earlier, 5.6.37 and earlier, and 5.7.11 and earlier. Attackers can cause the MySQL Server to hang or crash repeatedly, leading to a complete denial of service. The CVSS 3.0 Base Score for this vulnerability is 6.5, indicating a significant impact on availability.
How To Fix
Minimum fixed version
10.1.32-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
As a temporary workaround, consider restricting network access to the MySQL Server to trusted IP addresses only. This can help mitigate the risk of exploitation until the package is updated.
Conclusion
CVE-2017-10378 is a significant vulnerability in MariaDB that can lead to denial of service. It is crucial to update to the patched version to mitigate risks. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for mariadb →
FAQ
CVE-2017-10378 is a vulnerability in the MySQL Server component of Oracle MySQL that allows attackers to cause a denial of service.
Affected versions include MariaDB on Alpine v3.4, v3.5, v3.6, and v3.7, specifically those prior to version 10.1.32-r0.
Successful exploitation can lead to unauthorized denial of service, causing the MySQL Server to hang or crash repeatedly.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Vulert is a service that monitors and alerts for open-source vulnerabilities in software using a manifest file like package-lock.json, providing real-time insights.
References
Related vulnerabilities
Recent vulnerabilities recorded for mariadb.