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

add VEX file with vulnerabilities information to SBOM #2095

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

dfucci
Copy link
Contributor

@dfucci dfucci commented Jul 2, 2024

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
Copy link
Contributor

oscerd commented Jul 4, 2024

@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
Copy link
Contributor

oscerd commented Jul 4, 2024

Thanks a lot.

@oscerd
Copy link
Contributor

oscerd commented Jul 4, 2024

@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
Copy link
Contributor Author

dfucci commented Jul 4, 2024

@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
Copy link
Contributor

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
Copy link
Contributor

oscerd commented Jul 4, 2024

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

@oscerd oscerd merged commit a36e57c into apache:main Jul 8, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants