Adding CVE information to Nmap scans

Last week I stumbled across a nice nmap script that adds CVE information from to the results of nmap scans. Since it relies on version information from services it requires you scan the host with -sV

Example:  nmap -sV --script vulners host 

The github repository is 
You can add the script to your nmap installation with dir=/usr/share/nmap/scripts/ ; curl -ksL >> ${dir}vulners.nse && chmod 0644 ${dir}vulners.nse 
(or wherever your nmap script directory is, e.g. /usr/local/share/nmap/scripts/ ).