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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

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 IDSNYK-JAVA-MYSQL-2386864
  • published28 Jan 2022
  • disclosed18 Jan 2022
  • creditUnknown

Introduced: 18 Jan 2022

CVE-2022-21363  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

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

Overview

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.

CVSS Scores

version 3.1