Giter VIP home page Giter VIP logo

Comments (10)

bh86 avatar bh86 commented on June 12, 2024 1

So the issue seems to only happen when the project type is not specified. I am working on a fix for this regardless given some projects have multiple dependency types.

Thanks Caroline! Indeed, I don't specify any project type because usually my sbom file contains multiple package types.
By looking at the source code, it seems the project type argument is somehow mandatory to get correct results. My assumption was that you extract the project type from the purl.

from dep-scan.

cerrussell avatar cerrussell commented on June 12, 2024 1

@ashemedai @bh86 @yossipik I've put out a fix on the linked branch. Please test it out and let me know how it goes!

from dep-scan.

yossipik avatar yossipik commented on June 12, 2024 1

works! thanks for fixing it

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

@ashemedai Thank you for a reproducible test case. We will investigate and update here.

from dep-scan.

bh86 avatar bh86 commented on June 12, 2024

I have the same issue. For examples:

from dep-scan.

yossipik avatar yossipik commented on June 12, 2024

We have a similar issue with many vulns - here are some examples

pkg:pypi/[email protected] -> all CVEs related to K8S
pkg:pypi/[email protected] -> all CVEs related to ES
pkg:npm/[email protected] -> 
    * CVE-2022-28948
    * CVE-2021-4235 (Go)
    * CVE-2022-3064 (Go)
* pkg:npm/[email protected] ->
    * CVE-2018-1002207 (Go version)
    * CVE-2019-10743
* pkg:pypi/[email protected] -> CVE-2023-34617 (java)
* pkg:npm/firebase/[email protected] -> CVE-2021-20291 (Go version)
* pkg:npm/[email protected] -> CVE-2017-18589 (Rust)

Do you have an ETA for fixing this?
Thanks!

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

@bh86 @yossipik we might need a way to reproduce this. Could you join our discord and share a sample project or sbom?

https://discord.gg/pF4BYWEJcS

from dep-scan.

cerrussell avatar cerrussell commented on June 12, 2024

So the issue seems to only happen when the project type is not specified. I am working on a fix for this regardless given some projects have multiple dependency types.

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

Please retest with the 4.2.1 release.

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

Thank you for the confirmation! Please share your love on social media.

from dep-scan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.