Skip to content

Commit bf4adff

Browse files
committed
Add TODO comment and details about temp vulnerabilities in debian.py
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
1 parent 03b2761 commit bf4adff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vulnerabilities/importers/debian.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ def _parse(self, pkg_name: str, records: Mapping[str, Any]) -> List[Advisory]:
111111
if not cve_id.startswith("CVE"):
112112
continue
113113

114+
# vulnerabilities starting with something may not be public yet
115+
# see for instance https://web.archive.org/web/20201215213725/https://security-tracker.debian.org/tracker/TEMP-0000000-A2EB44 # nopep8
116+
# TODO: this would need to be revisited though to ensure we are not missing out on anything # nopep8
117+
114118
for release_name, release_record in record["releases"].items():
115119
if not release_record.get("repositories", {}).get(release_name):
116120
continue

0 commit comments

Comments
 (0)