Skip to content

Commit

Permalink
Fix openssl importer.
Browse files Browse the repository at this point in the history
The data source has a CVE-2007-5502 which has weird version.Skip it.

Signed-off-by: Shivam Sandbhor <[email protected]>
  • Loading branch information
sbs2001 committed Apr 27, 2021
1 parent 412a429 commit f9233cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vulnerabilities/importers/openssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ def to_advisories(xml_response: str) -> Set[Advisory]:
else:
continue

if cve_id == "CVE-2007-5502":
# This CVE has weird version "fips-1.1.2".This is
# probably a submodule. Skip this for now.
continue

if info.tag == "affects":
# Vulnerable package versions
vuln_pkg_versions.append(info.attrib.get("version"))
Expand Down

0 comments on commit f9233cc

Please sign in to comment.