Skip to content

[V6] Same CVE but different bom-ref #442

Description

I'm checking V6 result towards V5 and I have a doubt about the report

With V5 I have this result:

Image

With V6 I have a different result:

Image

the vdr file is correct with 2 different vulnerabilties for ansi-regex@5.0.0 and ansi-regex@5.0.0 and ansi-regex@3.0.0

This is the sbom I use to debug this issue

SonarQube-master-short.cdx.json

vdr result for V5.5

SonarQube-master-short.cdx_V5.vdr.json

And V6 report files:

SonarQube-master-short_V6.vdr.json
depscan_V6.txt

I tried to understand and fix the procedure but I just found where it could be the issue:

In generate_console_output there is some code to group the packages before output but in this case there is a CVE with 2 different bom-ref

I think this is a bug but I'm not sure :)

Thanks !
Michela

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