Skip to content

Establish license for code & advisory data #121

@mbauman

Description

@mbauman

There are three questions here:

  • What is the license of the code: this one is easy IMO: it's MIT. (cc @nHackel, could you please confirm that you can license your contributions in Add purl entry to osv_dict #102 as MIT?)
  • What is the license of the advisory data that are first authored and directly contributed here? There seem to be two prevailing good-practice options here: either CC0-1.0 or CC-BY-4.0. See, e.g., OSV's list of databases and their licenses: https://google.github.io/osv.dev/data/#current-data-sources
  • What is the license of the advisory data that are derived from other sources? We currently support three four data sources:
    • NVD: Public domain, but I suppose we should add the clause "This product uses data from the NVD API but is not endorsed or certified by the NVD": https://nvd.nist.gov/developers/start-here
    • EUVD: It's a little muddy, but I think it effectively requires attribution, deferring to their upstream source... but they don't really even do this in their own data.
    • GHSA: Actually has two different sources with — I think — different terms.
      • The global advisory DB itself is CC-BY-4.0, with attribution to the database URL itself.
      • Individual repo advisories don't have any specific terms or guidance (AFAICS) and as such I would think they're driven by the terms of their repository unless otherwise specified.

We are capturing source data well with the jlsec_sources field, which is then provided to downstream consumers via the database_specific dict. We could potentially add a license field like rustsec has done.

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