Skip to content

feat: Support different kind of versions in cve_range #4954

@jloehel

Description

@jloehel

Related to: #4953

Description

The comparison of versions would be easier if there would be a type of version in the database. Types could be:

  • custom
  • git
  • maven
  • python
  • deb
  • rpm
  • semver

That would align the data with the schema for a CVE Record: https://github.com/CVEProject/cve-schema. An alternative would be using a version range string: https://github.com/package-url/purl-spec/blob/main/VERSION-RANGE-SPEC.rst and use univers for the comparison: https://github.com/aboutcode-org/univers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions