cve-bin-tool icon indicating copy to clipboard operation
cve-bin-tool copied to clipboard

Feature request: add new language library/package parsers

Open terriko opened this issue 3 years ago • 4 comments

Our language/library parsers read the meta data out of the package and translate that to a meaningful vendor, product, version tuple that cve-bin-tool can use to scan for vulnerabilities. Currently, we support things like Ruby gems, Python eggs, Java JAR files, etc. (current list here). It would be great to add more.

Looking at this list of popular programming languages you can see that while we cover a lot of the top ones, but definitely not everything. I've already filed requests for perl and php:

  • #1978
  • #1979 But I'm filing this issue as a generic "add more languages! Any language!" request.

If you know of any language that has packages with enough metadata for us to use, please comment below!

terriko avatar Sep 29 '22 22:09 terriko

Hi @terriko I would like to work on this feature. Could you assign it to me? Thanks

leomindez avatar Oct 05 '22 06:10 leomindez

I think c/c++ support using the Conan ecosystem would be a great addition.

anthonyharrison avatar Oct 05 '22 20:10 anthonyharrison

So while going through the list of language packages we support, i thought a great addition would be pubspec.lock of flutter projects (dart) parser, for now the cves relate to dart packages are few but as its popularity grow we can expect more cves being reported, Additionally forks can use it to generate Sboms too, what are your thought @terriko @anthonyharrison ??

mastersans avatar Feb 20 '24 18:02 mastersans

@mastersans sounds interesting! File a request for it with as much detail as you have about the format, and if you want to tackle actually implementing it make sure to say so after you do so I can assign it to you!

terriko avatar Feb 21 '24 22:02 terriko