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

Scan matches on similarly named package, but from different ecosystem #1779

Open
supersimple opened this issue Apr 2, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@supersimple
Copy link

What happened:
I was alerted to a CVE issue on a package (from Hex) that has a similar name to a vulnerable package available in the iOS ecosystem. They are unrelated packages.

What you expected to happen:
I was expecting not to receive a failure

How to reproduce it (as minimally and precisely as possible):
Add the expo dependency to an elixir app/ Run Grype.

Anything else we need to know?:
I am including a screenshot from the GH action output

Environment:

  • Output of grype version:
    • [info] using release tag='v0.74.4' version='0.74.4' os='linux' arch='amd64'
  • OS (e.g: cat /etc/os-release or similar):
  • [info] using release tag='v0.74.4' version='0.74.4' os='linux' arch='amd64'

image

@supersimple supersimple added the bug Something isn't working label Apr 2, 2024
@kzantow
Copy link
Contributor

kzantow commented Apr 2, 2024

Add the expo dependency to an elixir app/ Run Grype.

Hi @supersimple , would you be able to expand how to do this? ...maybe provide a sample file or some command line steps to create one that's causing the issue?

@supersimple
Copy link
Author

Add the expo dependency to an elixir app/ Run Grype.

Hi @supersimple , would you be able to expand how to do this? ...maybe provide a sample file or some command line steps to create one that's causing the issue?

Hi.
The project I am working on is closed source, so I cannot share that with you, but this was a scan using the anchore/scan-action GH action, configured with defaults. Any Elixir/Phoenix app should give this warning, or a mix app that uses the expo dependency from Hex.
The issue seems to be that an iOS dependency by the same name has a CVE on early versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants