vulnerablecode icon indicating copy to clipboard operation
vulnerablecode copied to clipboard

What if different advisories report different version range for the same vulnerability?

Open sify21 opened this issue 2 years ago • 1 comments

For example, CVE-2023-38286 for pkg:maven/de.codecentric/spring-boot-admin-server:

The commit that fixes this is actually included in version 3.1.2.

Currently in vulnerablecode, GitLabAPIImporter and GitHubAPIImporter reports differenct version range accordingly, and DefaultImprover decides that this is fixed in version 3.1.1 image

Maybe for vulnerablecode, it should use the largest range for affected versions? That is, it should use "affected_version_range": "vers:maven/<3.1.2" collected by GitHubAPIImporter, rather than "affected_version_range": "vers:maven/<=3.1.0" collected by GitLabAPIImporter.

sify21 avatar Sep 12 '23 11:09 sify21

We are trying to address this in #1393

pombredanne avatar Aug 07 '24 11:08 pombredanne