MySQL Connector/J Vulnerability - Unauthorized Access and Denial of Service Risk

mysql-connector-java Updated 04 Oct 2025

Summary

15/04/2020
N/A
No i
Medium
5.0

UBUNTU-CVE-2020-2934: Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/J). Affects mysql-connector-java versions 5.1.25-1 – 5.1.28-1. No fix is published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

MySQL Connector/J is a JDBC driver that enables Java applications to interact with MySQL databases. It is widely used for connecting Java applications to MySQL, providing essential functionalities such as data retrieval and manipulation. The driver is crucial for applications that rely on MySQL for data storage and management. However, certain versions of this package are vulnerable to a security flaw that can lead to unauthorized access and potential denial of service.

Vulnerability Detail

The vulnerability, identified as CVE-2020-2934, affects MySQL Connector/J versions 8.0.19 and prior, as well as 5.1.48 and prior. It allows unauthenticated attackers with network access to exploit the connector through various protocols. Successful exploitation requires human interaction from a user other than the attacker. The consequences of this vulnerability include unauthorized updates, inserts, or deletions of data, unauthorized read access to sensitive data, and the potential to cause a partial denial of service (DoS) to the MySQL Connectors. The CVSS score for this vulnerability is 5.0, indicating moderate severity with impacts on confidentiality, integrity, and availability.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider restricting network access to the MySQL Connector/J to trusted sources only. This can help mitigate the risk of unauthorized access while you work on updating to a secure version.

Conclusion

The vulnerability CVE-2020-2934 poses a significant risk to users of MySQL Connector/J, allowing unauthorized access and potential denial of service. It is crucial to update to a secure 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 mysql-connector-java →

Share this vulnerability

FAQ

CVE-2020-2934 is a vulnerability in MySQL Connector/J that allows unauthorized access and potential denial of service.

Affected versions include 8.0.19 and prior, as well as 5.1.48 and prior.

The vulnerability can lead to unauthorized data access, modification, and partial denial of service.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

If immediate updates are not possible, restrict network access to trusted sources as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for mysql-connector-java.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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