Search for specific CVE incuding location information

Hi @john_hartman ,
I’ve gone through these articles but unabe to create a query for my requirement.
I need to run a query for specific CVE and generate a csv report to show hostnam, ip address, title solution,fix & location tag
Please help