CVE-2015-2575: Mysql connector java Improper Access Control Vulnerability
MODERATECVE-2015-2575 is a MODERATE improper access control vulnerability (CWE-284: Improper Access Control) affecting Mysql connector java libraries in the Maven ecosystem. The issue involves improper access control in mysql connectors java. Remediation is available by upgrading affected packages to version 5.1.35.
CVE-2015-2575 at a Glance
How to Fix CVE-2015-2575
To remediate this vulnerability, upgrade all affected Mysql connector java dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.35</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=mysql
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2015-2575, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=mysql
Analyze the terminal output to locate any version of Mysql connector java in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.1.35), your application is affected.
Note: The mvn dependency:tree -Dincludes=mysql command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Mysql connector java, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-2575 Affected Mysql connector java Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mysql:mysql-connector-java
|
Maven |
< 5.1.35
|
5.1.35
|
References
Frequently Asked Questions
What is CVE-2015-2575?
Which Mysql connector java versions are affected?
What version fixes CVE-2015-2575?
Is mysql-connector-java affected?
What CWE is associated with CVE-2015-2575?
How can I check Maven dependencies for CVE-2015-2575?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gc43-g62c-99g2",
"modified" : "2022-07-06T20:20:54Z",
"published" : "2022-05-17T00:25:07Z",
"aliases" : [ "CVE-2015-2575" ],
"summary" : "Improper Access Control in MySQL Connectors Java",
"details" : "Unspecified vulnerability in the MySQL Connectors component in Oracle MySQL 5.1.34 and earlier allows remote authenticated users to affect confidentiality and integrity via unknown vectors related to Connector/J.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "mysql:mysql-connector-java"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.1.35"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-2575"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20150417-0003"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00026.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2015-05/msg00089.html"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2016/dsa-3621"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-06T20:20:54Z",
"nvd_published_at" : "2015-04-16T17:00:00Z"
}
}