Skip to content

Commit f9233cc

Browse files
committed
Fix openssl importer.
The data source has a CVE-2007-5502 which has weird version.Skip it. Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
1 parent 412a429 commit f9233cc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

vulnerabilities/importers/openssl.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ def to_advisories(xml_response: str) -> Set[Advisory]:
8383
else:
8484
continue
8585

86+
if cve_id == "CVE-2007-5502":
87+
# This CVE has weird version "fips-1.1.2".This is
88+
# probably a submodule. Skip this for now.
89+
continue
90+
8691
if info.tag == "affects":
8792
# Vulnerable package versions
8893
vuln_pkg_versions.append(info.attrib.get("version"))

0 commit comments

Comments
 (0)