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

[BUG] Conda scanner not recognizing known vulnerability #150

Open
vramirez333 opened this issue Feb 12, 2024 · 0 comments
Open

[BUG] Conda scanner not recognizing known vulnerability #150

vramirez333 opened this issue Feb 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vramirez333
Copy link

vramirez333 commented Feb 12, 2024

Describe the bug
I can't get Jake-conda scanner to recognize known vulnerabilities. Based on a screenshot from this Jake-Sonatype documentation (https://blog.sonatype.com/how-to-easily-identify-conda-vulnerabilities-using-sonatype-jake), I should get a vulnerability when I scan for this Conda dependency: [email protected]. However, when I run the scanner, there are zero vulnerabilities found.

Please help me reproduce this or any other conda dependency vulnerabilities.

To Reproduce
Steps to reproduce the behavior:

  1. Convert this environment.yml file-code to conda list explicit:

name: jake-test
channels:

  • conda-force
  • defaults
    dependencies:
  • openssl=1.1.1d
  1. Once the conda explicit list is available (env.txt), run the Jake conda scanner against it using the following command:
    'jake -w ddt -t CONDA -f "env.txt"'

  2. The Jake-conda scanner results will show 6 Audited Vulnerabilities and 0 Vulnerabilities Found.

Expected behavior
Based on the Sonatype documentation in the shared link, above, I expect the Jake-conda scanner to return at least 1 Vulnerability Found in the scan results.

Screenshots
Screenshot from Sonatype link, showing known vulnerability:
MicrosoftTeams-image (14)

Here are my actual results showing no vulnerabilities. The results are from an Azure DevOps pipeline:
actual scan results

Here is what the env.txt file looks like:
env txt contents

Desktop (please complete the following information):
-conda version 23.11.0
-running code in Azure DevOps

Additional context
My goal is to reproduce any vulnerabilities using Jake's Conda scanner.

@vramirez333 vramirez333 added the bug Something isn't working label Feb 12, 2024
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
None yet
Development

No branches or pull requests

1 participant