diff --git a/CveXplore/core/database_maintenance/sources_process.py b/CveXplore/core/database_maintenance/sources_process.py index f1d0eca58..3030ac16c 100644 --- a/CveXplore/core/database_maintenance/sources_process.py +++ b/CveXplore/core/database_maintenance/sources_process.py @@ -540,6 +540,8 @@ def process_the_item(self, item: dict = None): cve["vulnerable_configuration_stems"] = [] cve["configurations"] = item["cve"]["configurations"] for node in item["cve"]["configurations"]: + if "nodes" not in node: + continue for cpe in node["nodes"]: if "cpeMatch" in cpe: for cpeuri in cpe["cpeMatch"]: