Skip to content

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

Description

@sify21

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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