Yes. mysql:mysql-connector-java (Maven): upgrade to 8.0.27 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-2471?
Check whether you run mysql:mysql-connector-java (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
mysql:mysql-connector-java (Maven): upgrade to 8.0.27 or later
# set mysql:mysql-connector-java to 8.0.27 in your pom.xml or build.gradle