Within maven project, I can do
mvn dependency-check:check
for the tools to download NVD CVE security issues database, analyze and show report, what dependencies have known security issues.
However, as solution would be update several dependencies e.g. via Spring Boot update, I would like to see how many security issues would be solved that one. E.g. updating from x.y.5 to x.y.10 will solve n security issues:
Or better for every security issue, what is version that solves it.