Is mysql:mysql-connector-java 6.0 vulnerable?

Maven · 5 releases from 6.0.2 to 6.0.6 · latest mysql:mysql-connector-java is 8.0.33 · checked 18 Nov 2026

Yes: 4 known advisories

Yes. mysql:mysql-connector-java 6.0.6, the last 6.0 release, is affected by 4 known security advisories (2 high, 2 medium), including CVE-2023-22102, CVE-2018-3258, CVE-2022-21363. At least one has no fixed release yet.

Is your project on an affected mysql:mysql-connector-java?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting mysql:mysql-connector-java 6.0.6

  • HighCVE-2023-22102GHSA-m6vm-37g8-gqvh18 Oct 2023

    MySQL Connectors takeover vulnerability

    Affected
    <=8.0.33
    Fixed in
    No fix released
  • HighCVE-2018-3258GHSA-4vrv-ch96-6h4213 May 2022

    Improper Privilege Management in MySQL Connectors Java

    Affected
    <8.0.13
    Fixed in
    8.0.13
  • MediumCVE-2022-21363GHSA-g76j-4cxx-23h920 Jan 2022

    Improper Handling of Insufficient Permissions or Privileges in MySQL Connectors Java

    Affected
    <8.0.28
    Fixed in
    8.0.28
  • MediumCVE-2019-2692GHSA-jcq3-cprp-m3331 Jul 2020

    Privilege escalation in mysql-connector-jav

    Affected
    <8.0.16
    Fixed in
    8.0.16

Every mysql:mysql-connector-java 6.0.x release

Affected: 6.0.2 to 6.0.6. Latest mysql:mysql-connector-java: 8.0.33.

VersionKnown advisories
mysql:mysql-connector-java 6.0.6CVE-2023-22102, CVE-2018-3258, CVE-2022-21363, CVE-2019-2692
mysql:mysql-connector-java 6.0.5CVE-2023-22102, CVE-2018-3258, CVE-2022-21363, CVE-2019-2692
mysql:mysql-connector-java 6.0.4CVE-2023-22102, CVE-2018-3258, CVE-2022-21363, CVE-2019-2692
mysql:mysql-connector-java 6.0.3CVE-2023-22102, CVE-2018-3258, CVE-2022-21363, CVE-2019-2692
mysql:mysql-connector-java 6.0.2CVE-2023-22102, CVE-2018-3258, CVE-2022-21363, CVE-2019-2692

Which of your client projects are still on mysql:mysql-connector-java 6.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact mysql:mysql-connector-java version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other mysql:mysql-connector-java versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.