Skip to content

-sp# suffix treated as prerelease in version comparison #3062

@ChristophRh

Description

@ChristophRh

Hello again,
I'm still having issues in creating a CycloneDX SBOM such that Grype finds the matching vulnerabilities, that obviously are in the database.
Vulnerability IDs:
CVE-2023-48242 - CVE-2023-48266

I was using "version": "V1500-SP2" which lead to this issue.
Now I tried many variations of the name like nexo-os nexo os nexo NEXO-OS and versions 1000 1300 1500-sp2
but found 0 vulnerability matches across 1 packages.
And it seems like type has to be "type": "application", otherwise it says 0 packages if type is "device", "operating-system" or "firmware".
That is how my simple CycloneDX looks like:

{
  "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
  "version": 1,
  "metadata": {
    "timestamp": "2025-11-10T10:00:00Z",
    "component": {
      "type": "device",
      "bom-ref": "Nexo-nutrunner",
      "manufacturer": {
        "name": "Bosch Rexroth AG"
      },
      "name": "Nexo-Cordless-Nutrunner",
      "version": "1500-sp2"
    }
  },
  "components": [
    {
      "type": "application",
      "bom-ref": "nexo-application",
      "name": "nexo-os",
      "version": "1500-sp2"
    }
  ]
}

It would be nice if you could try the same and give me feedback on what I'm doing wrong.
Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions