misp-modules icon indicating copy to clipboard operation
misp-modules copied to clipboard

cve_advanced gives "API not accessible" when no vulnerability was found, instead of 'Non existing CVE'

Open Wachizungu opened this issue 1 year ago • 1 comments

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

Wachizungu avatar Dec 15 '24 20:12 Wachizungu

@chrisr3d as we discussed, we should replace it with vulnerability.circl.lu new API and better handler the exceptions.

https://vulnerability.circl.lu/api/

adulau avatar Dec 16 '24 05:12 adulau