Skip to content

audit vulnerabilities tab empty #6136

@quimicefa

Description

@quimicefa

Current Behavior

Certain projects show the "audit vulnerabilities" empty despite have thousands of impacted vulnerabilities.

This seems to happen when some components references a vulnerability with a very rich description like: GHSA-m7jm-9gc2-mpf2 or GHSA-v2v4-37r5-5v8g. Those vulnerabilities description has code samples with javascript / SQL and the api server fail to render a proper JSON parseable by the frontend.

When keeping an eye with F12/chrome looks like the JSON is being partially formed until the mentioned vulnerabilities are reached then the JSON is broken.

Navigating from the vulnerabilities browser also show severity, affected projects ... empty.

likely related: #3229

dummy_sbom.json

Steps to Reproduce

  1. create a project and upload the provided BOM

Expected Behavior

It should display the "audit vulnerabilities" section with all the information about the vulnerabilities.

Dependency-Track Version

4.13.5

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

Google Chrome

Checklist

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions