Skip to content

Commit

Permalink
Ignore withdrawn cve (#163)
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu authored Jul 14, 2024
1 parent 270ff5c commit 7b672d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vdb/lib/nvd.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,9 @@ def convert_api_vuln(vuln: dict) -> Vulnerability | None:
problem_type = aweakness["description"][0]["value"]
break
description = NvdSource._get_value(vuln, "descriptions")
# Ignore disputed CVEs. Eg: CVE-2023-35116
if "** DISPUTED **" in description or "this is not a valid vulnerability report" in description:
return None
rdata = vuln.get("references", [])
related_urls = [r["url"] for r in rdata]
metrics = vuln.get("metrics", {})
Expand Down

0 comments on commit 7b672d6

Please sign in to comment.