Skip to content

Feature: Import vulnerabilities from BOM #1297

Open

Description

@js-timbirkett

Some tools out there (Grype) are able to generate vulnerabilities using the CycloneDX vulnerabilities extension: http://cyclonedx.org/schema/ext/vulnerability/1.0 and often make use of different vulnerability sources such as GHSA. It'd be great if submitting a BOM with vulnerabilities also populated the internal db with any unknown vulnerabilities from these BOM files.

Current Behavior:

BOM file is imported and vulnerabilities ignored

Proposed Behavior:

BOM file imported, vulnerabilities and components parsed and database populated with unknown vulnerabilities.

Activity

  1. added
    enhancement
    on Dec 14, 2021
  2. js-timbirkett commented on Dec 14, 2021

    @js-timbirkett
    Author

    related to #783 - placeholder issue, intention is to follow this up with a PR but I have a fair bit of code to read first 😄

  3. stevespringett commented on Dec 14, 2021

    @stevespringett
    Member

    The vulnerability extension will be deprecated in January 2022 with the release of CycloneDX v1.4 which includes the ability to specify vulnerabilities as part of the core spec. It builds upon the vulnerability extension, but is very different and incompatible.

    The CycloneDX Core Java library will be updated around the same time. That will give you the (de)serialization and object model, so the only work would be on the DT side.

    We'll have to figure out specifically how to associate the vulns when importing them - what scanner we want them associated with, etc.

  4. prbinu commented on Sep 27, 2022

    @prbinu

    Hi @stevespringett, is this fixed now?
    We are using a curated/3rd-party CVE database, and would like to ingest SBOM, embedded with vulnerability/CVE info to Dependency Track. But it appears that Dependency Track is ignoring vulnerability part and populating CVE details using std NVD and GHSA databases. So it would be helpful if we can upload vulnerability details directly from tools like grype.

  5. stevespringett commented on Sep 27, 2022

    @stevespringett
    Member

    @prbinu - it has not been worked on. We have a pretty large backlog, so pull requests are highly encouraged.

  6. mirkojahn commented on Nov 8, 2023

    @mirkojahn

    I am also working with multiple scanners that create their individual SBOMs with included vulnerabilities. Unfortunately all these findings get ignored due to the source not being NVD. This is really unfortunate, because being able to combine the view on multiple external sources is a real strength.

    I attached a SBOM generated via trivy for alpine linux 3.11.11 just for reference, as it's rather small and could serve as a simple test case if needed. The vulnerability source here is: https://secdb.alpinelinux.org/ and none of the vulnerabilities are found in dependency-track with the free analyzers.
    alpine3.11.11.json

  7. jwhellenthal commented on Jul 23, 2025

    @jwhellenthal

    Any progress with respect to this issue? Have the same problem the vulnerability audit does not show anything

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