Critical Denial of Service Vulnerability in MariaDB - CVE-2017-3258
Summary
ALPINE-CVE-2017-3258: Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: DDL). Affects mariadb versions < 10.1.21-r0. Fixed in 10.1.21-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 for web applications and data storage. It is a fork of MySQL and offers enhanced features, performance improvements, and a strong community support. The vulnerability CVE-2017-3258 affects multiple versions of MariaDB, allowing low-privileged attackers to exploit the system, leading to potential denial of service (DoS) attacks.
Vulnerability Detail
CVE-2017-3258 is a vulnerability in the MySQL Server component of Oracle MySQL, specifically in the Server: DDL subcomponent. Supported versions affected include 5.5.53 and earlier, 5.6.34 and earlier, and 5.7.16 and earlier. This vulnerability is easily exploitable, allowing attackers with network access to compromise the MySQL Server. Successful exploitation can lead to unauthorized ability to cause a hang or a frequently repeatable crash of the MySQL Server, resulting in a denial of service. The CVSS v3.0 Base Score for this vulnerability is 6.5, indicating significant availability impacts.
How To Fix
Minimum fixed version
10.1.21-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 measure, you can restrict network access to the MariaDB server to trusted IP addresses only, minimizing the risk of exploitation until the package is updated.
Conclusion
CVE-2017-3258 presents a critical vulnerability in MariaDB that can lead to denial of service attacks. It is crucial to update to the patched version to safeguard your systems. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for mariadb →
FAQ
CVE-2017-3258 is a vulnerability in the MySQL Server component that allows low-privileged attackers to cause a denial of service.
Affected versions include those prior to 10.1.21-r0 for Alpine Linux.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability.
The CVSS score for CVE-2017-3258 is 6.5, indicating a significant risk to availability.
If immediate updates are not possible, restrict network access to the MariaDB server to trusted sources to mitigate risks.
References
Related vulnerabilities
Recent vulnerabilities recorded for mariadb.