I know I have asked a similar question few days ago for inclusion of earlier cassandra driver versions into Spark Cassandra connector 2.5.x
I saw that there is a new version of the cassandra driver 4.11 released and spark connector 2.5.2 release is still awaited.
Hence, I request the team to consider upgrading spark-cassandra-connector 2.5 to include cassandra Java driver 4.11 as well.