Use searchsploit to search for CVEs.
If there's a metasploit module for that CVE, you can do "search the_product_name" in metasploit.
Last updated 3 years ago