Critical Vulnerability in MariaDB: CVE-2018-2755 - MySQL Server Compromise Risk

mariadb Updated 02 Oct 2025

Summary

19/04/2018
N/A
Yes i
High
7.7

ALPINE-CVE-2018-2755: Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Replication). Affects mariadb versions < 10.2.15-r0. Fixed in 10.2.15-r0. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 is designed to be highly compatible with it. MariaDB offers features such as improved performance, scalability, and security. However, it is vulnerable to CVE-2018-2755, which affects its MySQL Server component, allowing potential unauthorized access and control over the database server.

Vulnerability Detail

CVE-2018-2755 is a vulnerability in the MySQL Server component of Oracle MySQL, affecting versions 5.5.59 and prior, 5.6.39 and prior, and 5.7.21 and prior. This vulnerability allows an unauthenticated attacker with access to the infrastructure where MySQL Server runs to compromise the server. Successful exploitation requires human interaction from a user other than the attacker, making it a difficult-to-exploit vulnerability. However, if exploited, it can lead to a complete takeover of the MySQL Server, impacting confidentiality, integrity, and availability. The CVSS score for this vulnerability is 7.7, indicating a high severity level.

How To Fix

Minimum fixed version

10.2.15-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 access to the MySQL Server by implementing firewall rules or network segmentation to limit exposure to potential attackers. Additionally, ensure that all users accessing the MySQL Server are authenticated and have the least privilege necessary.

Conclusion

CVE-2018-2755 is a critical vulnerability affecting MariaDB's MySQL Server component, posing significant risks if left unaddressed. It is crucial for users to update to the patched version to mitigate these risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for mariadb →

Share this vulnerability

FAQ

CVE-2018-2755 is a vulnerability in the MySQL Server component of Oracle MySQL that allows unauthorized access and potential takeover of the server.

Affected versions include MariaDB versions prior to 10.2.15-r0 for Alpine Linux.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized access, data breaches, and complete control over the MySQL Server, affecting confidentiality, integrity, and availability.

The CVSS score for CVE-2018-2755 is 7.7, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for mariadb.

How To Fix

Minimum fixed version

10.2.15-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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback