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

Handle components that have patches for CVE's #2

Open
hellbent opened this issue May 13, 2022 · 6 comments · May be fixed by #5
Open

Handle components that have patches for CVE's #2

hellbent opened this issue May 13, 2022 · 6 comments · May be fixed by #5

Comments

@hellbent
Copy link

Right now a Yocto component may have a patch included in its recipe which addresses a CVE yet Dependency Track has no way of knowing and will still list it as being vulnerable. We should use the pedigree feature in CycloneDX to forward this info to DT as part of the BOM.

@stevespringett
Copy link

Related to DependencyTrack/dependency-track#919

@xRate1337
Copy link

What is the current status? Does it already work with the pedigree feature of CycloneDX? Or has someone already tried to pack it into a VEX file and attach it to the CycloneDX SBOM?

@olsensteffen
Copy link

What is the current status? Does it already work with the pedigree feature of CycloneDX? Or has someone already tried to pack it into a VEX file and attach it to the CycloneDX SBOM?

The current status is that the pedigree patches are not taken into account by DT. As a workaround I made a bbclass which generates both a sbom and a vex document, which are uploaded to DT by CI, and this works great

@svenschwermer
Copy link

What is the current status? Does it already work with the pedigree feature of CycloneDX? Or has someone already tried to pack it into a VEX file and attach it to the CycloneDX SBOM?

The current status is that the pedigree patches are not taken into account by DT. As a workaround I made a bbclass which generates both a sbom and a vex document, which are uploaded to DT by CI, and this works great

Would you be comfortable sharing that class?

@groetingc
Copy link

I just would like to ask, if You would be so kind and share the class with VEX generation also with me?
Could You probably share an example of a generated VEX file?

@Jasper-Ben
Copy link

I have a working POC for this (using VEX), however currently blocked by #4.

@Jasper-Ben Jasper-Ben linked a pull request Nov 8, 2023 that will close this issue
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 a pull request may close this issue.

7 participants