Skip to content

Debian importer is treating lots of non-cves like cves #165

Description

@sbs2001
>>> z = pickle.load(open('debi.pickle','rb'))
>>> for i in z :
...     if not i['cve_id'].startswith('CVE') :
...             print(i['cve_id'])
... 
TEMP-0105562-0FE13B
TEMP-0582798-329FE7
TEMP-0000000-DEED53
TEMP-0000000-75B37A
TEMP-0000000-106DD8
TEMP-0774898-681A65
TEMP-0532740-DB1B64
TEMP-0000000-481246
TEMP-0579087-7F12A8
TEMP-0841257-B7CD60
........................

These are further dumped directly https://github.com/nexB/vulnerablecode/blob/c5c69a46f2476056158cfb87bdc304baabba5eba/vulnerabilities/data_dump.py#L38 . So basically we are having non-cve ids in cve fields.

The debi.pickle was obtained by pickling https://github.com/nexB/vulnerablecode/blob/c5c69a46f2476056158cfb87bdc304baabba5eba/vulnerabilities/scraper/debian.py#L76

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions