apache / camel-kamelets

Apache Camel Kamelets Repository
https://camel.apache.org
Apache License 2.0
52 stars 71 forks source link

add VEX file with vulnerabilities information to SBOM #2095

Closed dfucci closed 1 day ago

dfucci commented 1 week ago

Dear project owners, We are a group of researchers investigating the usefulness of augmenting Software Bills of Materials (SBOMs) with information about known vulnerabilities of third-party dependencies.

As claimed in previous interview-based studies, a major limitation—according to software practitioners—of existing SBOMs is the lack of information about known vulnerabilities. For this reason, we would like to investigate how augmented SBOMs are received in open-source projects.

To this aim, we have identified popular open-source repositories on GitHub that provided SBOMs, statically detected vulnerabilities on their dependencies in the OSV database, and, based on its output, we have augmented your repository’s SBOM by leveraging the OpenVEX implementation of the Vulnerability Exploitability eXchange (VEX).

The JSON file in this pull request consists of statements, each indicating i) the software products (i.e., dependencies) that may be affected by a vulnerability. These are linked to the SBOM components through the @id field in their Persistent uniform resource locator (pURL); ii) a CVE affecting the product; iii) an impact status defined by VEX. By default, all statements have the status under_investigation as it is not yet known whether these product versions are actually affected by the vulnerability. After investigating the vulnerability, further statuses can be affected, not_affected, fixed. It is possible to motivate the new status in a justification field (see https://www.cisa.gov/sites/default/files/publications/VEX_Status_Justification_Jun22.pdf for more information).

We open this pull request containing a VEX file related to the SBOM of your project and hope it will be considered. We would also like to hear your opinion on the usefulness (or not) of this information by answering a 3-minute anonymous survey: https://ww2.unipark.de/uc/sbom/

Thanks in advance, and regards, Davide Fucci (Blekinge Institute of Technology, Sweden) Simone Romano and Giuseppe Scaniello (University of Salerno, Italy), Massimiliano Di Penta (University of Sannio, Italy)

oscerd commented 5 days ago

@dfucci this is interesting and I think there is value in VEX files. We're going to merge this and also regenerate the VEX file on each SBOM regeneration (once a week).

oscerd commented 5 days ago

Thanks a lot.

oscerd commented 5 days ago

@dfucci this is interesting and I think there is value in VEX files. We're going to merge this and also regenerate the VEX file on each SBOM regeneration (once a week).

What command did you use to generate the VEX from the SBOM file?

dfucci commented 5 days ago

@dfucci this is interesting and I think there is value in VEX files. We're going to merge this and also regenerate the VEX file on each SBOM regeneration (once a week).

Glad to hear you found using vulnerabilities in conjunction with SBOMs interesting. We hope this will support security risk management in your project.

What command did you use to generate the VEX from the SBOM file?

The VEX is generated using OpenVEX vexctl. Unfortunately, it does not support creating a VEX directly from an SBOM, but it can be easily scripted.

claudio4j commented 5 days ago

About the default status, can it be "reported" instead "under_investigation" ? As it may imply at first, that the vulnerability is being actively worked on, but in fact it was just reported.

oscerd commented 5 days ago

About the default status, can it be "reported" instead "under_investigation" ? As it may imply at first, that the vulnerability is being actively worked on, but in fact it was just reported.

There is a spec for that: https://github.com/openvex/spec/blob/main/OPENVEX-SPEC.md#status-labels