Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infer Package URL from references and other references issues for "commitish" URLs #327

Open
pombredanne opened this issue Jan 29, 2021 · 2 comments

Comments

@pombredanne
Copy link
Member

pombredanne commented Jan 29, 2021

In some case it may be possible to infer new package URLs from collected references. In this
CVE-2014-1904.pdf

we have these:

  1. these are duplicates (even though they look different) and the two later ones are obsolete/dead
  2. they represent a Package URL:
    spring-projects/spring-framework@741b4b2 means pkg:github/spring-projects/spring-framework@741b4b229ae032bd17175b46f98673ce0bd2d485

We may be able to get the Package URL (both the python packageurl and @TG1999 FetchCode may help for this inference.
And this is also a clear source commit information (though I am not sure if these are the commit that fixed of introduced the vuln... and as explained in #326 the data provenance is hard to trace.

I cannot easily debug this issues because of the lack of logging and history trail. I would need to be able to trace for each record the original data source and data it came fro. That does not need to be easy, but would need to be possible. Today it is neither easy nor possible AFAIK.

@sbs2001
Copy link
Collaborator

sbs2001 commented Jan 30, 2021

@pombredanne this makes sense, but I'm not sure how to infer relationship between the inferred commitish package and the vulnerability. For eg, there could be multiple commits which fix the vulnerability incrementally, so we can't be sure whether a particlular commit fully fixed a vulnerability .

@DennisClark
Copy link
Member

more about improving rather than strictly "data quality".

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

No branches or pull requests

4 participants