Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter packages (pub) get vulnerability from npm #3669

Open
2 tasks done
evyaroshevich opened this issue May 3, 2024 · 2 comments
Open
2 tasks done

Flutter packages (pub) get vulnerability from npm #3669

evyaroshevich opened this issue May 3, 2024 · 2 comments
Labels
FP/FN report False Positive or False Negative pending more information

Comments

@evyaroshevich
Copy link

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

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

@evyaroshevich evyaroshevich added defect Something isn't working in triage labels May 3, 2024
@nscuro
Copy link
Member

nscuro commented May 15, 2024

Which analyzer was the vulnerability attributed to? You can find this info in the Analyzer column of the Audit Vulnerabilities tab.

@nscuro nscuro added FP/FN report False Positive or False Negative pending more information and removed defect Something isn't working in triage labels May 15, 2024
@ostannar
Copy link

Hi @evyaroshevich,

how do you generate the .sbom file for dependency track?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FP/FN report False Positive or False Negative pending more information
Projects
None yet
Development

No branches or pull requests

3 participants