dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

Take CycloneDX 1.2 patches into account when analysing CVE exposure

Open steffenolsen opened this issue 4 years ago • 5 comments

CycloneDX 1.2 have added support for Pedigrees such commits and patches. It is possible to specify that a patch/commit resolves vulnerabilities. This can make sense in some scenarios where patching components in a build system is preferred as a better option than upgrading the component (short term)

It would be great if this information could be taken into account when analysing CVEs for the components in DT, and that those CVE ids listed as resolved in an imported BOM is regarded as resolved by DT as well. The exact resolvent category to use in this case I am not sure of. I see that when auditing a CVE these possible values could be specified when suppressing the CVE

  • Not Set
  • False Positive
  • Not affected

Not sure if any one of them fits. I guess from a monitoring point of view, it would be nice to get to know what CVE has been patched.

Current Behavior:

Proposed Behavior:

steffenolsen avatar Feb 03 '21 12:02 steffenolsen

I'm going to move this out a bit. CycloneDX v1.4 will likely include some updates to the way it handles vulnerabilities and it would be best to wait for v1.4 to be released so that DT can align.

stevespringett avatar Sep 22 '21 03:09 stevespringett

I'd be happy to help out with this one.

officerNordberg avatar Jun 09 '22 03:06 officerNordberg

Hi, is there any progress in shifting information about the status of the cves in dtrack over the sbom? I just saw the option to use the combination of cycloneDX and vex, but I can't figure out how to do it if I want to upload it once, because the referenzes are missing. Has someone a solution for getting patched yocto cves into dtrack directly?

xRate1337 avatar Dec 05 '22 17:12 xRate1337

Whilst I have re-assigned this enhacement request to the 4.9 milestone, I have also labelled it as "help wanted". PRs are always welcome.

On the plus side, understand that a re-assignment means that 4.8 will be seen a wee bit quicker, all other things being equal.

msymons avatar Feb 09 '23 17:02 msymons