DependencyTrack / DependencyTrack/dependency-track

Flutter packages (pub) get vulnerability from npm

Open
#3,669 7 comments 0 reactions 0 assignees View on GitHub
FP/FN report pending more information
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

While scanning the Flutter project, I discovered a false positive. DependencyTrack incorrectly identified the package pkg:pub/build@2.4.1 as belonging to the npm repository and issued the vulnerability CVE-2020-28423. Upon visiting the NIST NVD website to view the details, I found that it has cpe:2.3:a:monorepo-build_project:monorepo-build:*:*:*:*:*:node.js:*:*. Although in the actual bom file, the cpe is absent altogether.
![image](https://github.com/DependencyTrack/dependency-track/assets/42962140/ee07062f-a9ee-4f6b-bca2-548401bbd572)

### Steps to Reproduce

1. git clone any flutter project with pub/build@2.4.1
2. generate bom file
3. upload bom file to dependencytrack server

### Expected Behavior

the vulnerability should not appear on this component

### Dependency-Track Version

4.11.0-SNAPSHOT

### Dependency-Track Distribution

Container Image

### Database Server

PostgreSQL

### Database Server Version

_No response_

### Browser

Google Chrome

### Checklist

- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.