Improper Authorization Affecting mysql:mysql-connector-java package, versions [,8.0.28)



    Attack Complexity High
    Privileges Required High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.1% (41st percentile)
Expand this section
6.6 medium
Expand this section
Red Hat
6.6 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-MYSQL-2386864
  • published 28 Jan 2022
  • disclosed 18 Jan 2022
  • credit Unknown

How to fix?

Upgrade mysql:mysql-connector-java to version 8.0.28 or higher.


mysql:mysql-connector-java is a provides connectivity for client applications developed in the Java programming language with MySQL Connector/J, a driver that implements the Java Database Connectivity (JDBC) API.

Affected versions of this package are vulnerable to Improper Authorization via the MysqlSQLXML::getSource() function. A malicious actor with high privileges can access all of the MySQL connector's accessible data and crash the connectors.