misp-modules
misp-modules copied to clipboard
cve_advanced gives "API not accessible" when no vulnerability was found, instead of 'Non existing CVE'
Looks to me like https://cvepremium.circl.lu/api/cve/CVE-2024-13211 returns 404, for not found CVEs. This is not properly handled by the cve_advanced module:
https://github.com/MISP/misp-modules/blob/3033525c937c3b0ddc90477cd25f8d31e6d5e90f/misp_modules/modules/expansion/cve_advanced.py#L171
@chrisr3d as we discussed, we should replace it with vulnerability.circl.lu new API and better handler the exceptions.
https://vulnerability.circl.lu/api/