Skip to content

Analyze vulnerabilities for rpm packages in RedHat or CentOS operating systems #3991

Open

Description

@qiaozhi199

Current Behavior

I collected the sbom of all rpm packages in the CentOS system through the syft(https://github.com/anchore/syft) tool, the format of the sbom file is cyclonedx-json, then I upload the sbom file to the Dependency-Track.
I found that Dependency Track could only analyze very few vulnerabilities on individual rpm packages.
Snipaste_2024-07-22_11-42-32

However, I used the grype(https://github.com/anchore/grype) tool to perform vulnerability scanning locally and was able to scan over 10,000 vulnerabilities.
# grype sbom:./only-rpm-sbom-by-syft.json -o cyclonedx-json --file rpm-vulnerabilities.json ✔ Vulnerability DB [updated] ✔ Scanned for vulnerabilities [15862 vulnerability matches] ├── by severity: 11 critical, 724 high, 9902 medium, 6470 low, 0 negligible (49 unknown) └── by status: 5934 fixed, 11222 not-fixed, 1294 ignored

I found the following vulnerability databases supported by grype:
image
https://github.com/anchore/grype?tab=readme-ov-file#grypes-database

Dependency-Track whether it supports distributions such as RedHat, or planned to be supported?

Proposed Behavior

I hope that Dependency Track can analyze more vulnerabilities for rpm packages like grype did.

Checklist

Activity

  1. added
    enhancement
    on Jul 22, 2024
  2. DavidJuanes commented on Sep 4, 2024

    @DavidJuanes

    FWIW, I achieved similar scanning requirements by using Trivy analyser.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions