DependencyTrack / DependencyTrack/dependency-track
Flutter packages (pub) get vulnerability from npm
- 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.

### 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
Assessment
This issue has not been assessed yet.