If you have the pom.xml file, you can easily check it on the Vulert playground. It will list all vulnerabilities caused by the dependencies in the pom.xml.