<mongodb.version>3.12.14</mongodb.version>
It is too old and there is vulnerability. And mongo-java-driver is no longer maintained / updated by MongoDB. For the most up-to-date version of the Java Driver, please refer to the mongodb-driver-sync artifact.
In the recent spring data mongodb, it uses org.mongodb:mongodb-driver-sync:5.0.1