Giter VIP home page Giter VIP logo

Comments (9)

almaz045 avatar almaz045 commented on June 12, 2024 1

@prabhu
Yes, the problem was in old vdb version:

$ pip uninstall appthreat-vulnerability-db
Found existing installation: appthreat-vulnerability-db 5.6.4
Uninstalling appthreat-vulnerability-db-5.6.4:
pip install -e .
python3 depscan/cli.py --no-banner --purl "pkg:pypi/[email protected]" --reports-dir temp_test --no-suggest
╭─────────────────── Risk Audit Capability ───────────────────╮
│ Depscan supports OSS Risk audit for this project.           │
│ To enable set the environment variable ENABLE_OSS_RISK=true │
╰─────────────────────────────────────────────────────────────╯
INFO [2024-04-01 19:00:14,048] Performing regular scan for /home/user/Desktop/Programs/dep-scan-feature-use-vdbxz using plugin pypi
INFO [2024-04-01 19:00:14,052] No oss vulnerabilities detected ✅

Thanks!

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024 1

@almaz045, will rework PR #282 without including the xz change and let you know once it's ready.

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

VDB version compare is incorrectly saying that 6.0.1 is within 3.01 and 5.4b2. Will work on a fix this weekend.

['4969711542_4969759212', 'pypi', 'pyyaml', '6.0.1'] 3.01 5.4b2 None None True

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

Fixed with vdb 5.6.6. PR to bump depscan is coming.

python depscan/cli.py --no-banner --purl "pkg:pypi/[email protected]" --reports-dir /tmp/reports --no-suggest                           ok  4s  depscan py
╭─────────────────── Risk Audit Capability ───────────────────╮
│ Depscan supports OSS Risk audit for this project.           │
│ To enable set the environment variable ENABLE_OSS_RISK=true │
╰─────────────────────────────────────────────────────────────╯
INFO [2024-03-29 22:20:57,636] Performing regular scan for /mnt/work/owasp-depscan/dep-scan using plugin pypi
INFO [2024-03-29 22:20:57,643] No oss vulnerabilities detected ✅

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

@almaz045 could you kindly test with PR #282?

from dep-scan.

almaz045 avatar almaz045 commented on June 12, 2024

@almaz045 could you kindly test with PR #282?

dep-scan-feature-use-vdbxz/depscan$ python3 cli.py --no-banner --purl "pkg:pypi/[email protected]" --reports-dir temp_test --no-suggest
╭─────────────────── Risk Audit Capability ───────────────────╮
│ Depscan supports OSS Risk audit for this project.           │
│ To enable set the environment variable ENABLE_OSS_RISK=true │
╰─────────────────────────────────────────────────────────────╯
INFO [2024-04-01 10:10:29,707] Performing regular scan for dep-scan-feature-use-vdbxz/depscan using plugin pypi

                         Dependency Scan Results (PYPI)                         
╔═══════════════════════╤═════════════════════╤═════════════╤══════════╤═══════╗
║ CVE                    Insights             Fix Version  Severity  Score ║
╟───────────────────────┼─────────────────────┼─────────────┼──────────┼───────╢
║ [email protected] ⬅        │ 🧾 Vendor Confirmed │             │ LOW      │   2.0 ║
║ CVE-2020-14343        │                     │             │          │       ║
╟───────────────────────┼─────────────────────┼─────────────┼──────────┼───────╢
║ [email protected] ⬅        │ 🧾 Vendor Confirmed │             │ LOW      │   2.0 ║
║ CVE-2017-18342        │                     │             │          │       ║
╚═══════════════════════╧═════════════════════╧═════════════╧══════════╧═══════╝
╭────────────── Recommendation ───────────────╮
│ ✅ No package requires immediate attention. │
╰─────────────────────────────────────────────╯

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

@almaz045 could you uninstall any existing depscan or set PYTHONPATH to the cloned directory?

from dep-scan.

almaz045 avatar almaz045 commented on June 12, 2024

@almaz045 could you uninstall any existing depscan or set PYTHONPATH to the cloned directory?

I've deleted depscan binary file from path:

depscan
bash: /home/user/.local/bin/depscan: No such file or directory

I've added PYTHONPATH to feature-branch

export PYTHONPATH="/home/user/Desktop/Programs/dep-scan-feature-use-vdbxz:$PYTHONPATH"
~/Desktop/Programs/dep-scan-feature-use-vdbxz$ python3 depscan/cli.py --no-banner --purl "pkg:pypi/[email protected]" --reports-dir temp_test --no-suggest
╭─────────────────── Risk Audit Capability ───────────────────╮
│ Depscan supports OSS Risk audit for this project.           │
│ To enable set the environment variable ENABLE_OSS_RISK=true │
╰─────────────────────────────────────────────────────────────╯
INFO [2024-04-01 17:55:25,318] Performing regular scan for /home/user/Desktop/Programs/dep-scan-feature-use-vdbxz using plugin pypi

                         Dependency Scan Results (PYPI)                         
╔═══════════════════════╤═════════════════════╤═════════════╤══════════╤═══════╗
║ CVE                    Insights             Fix Version  Severity  Score ║
╟───────────────────────┼─────────────────────┼─────────────┼──────────┼───────╢
║ [email protected] ⬅        │ 🧾 Vendor Confirmed │             │ LOW      │   2.0 ║
║ CVE-2017-18342        │                     │             │          │       ║
╟───────────────────────┼─────────────────────┼─────────────┼──────────┼───────╢
║ [email protected] ⬅        │ 🧾 Vendor Confirmed │             │ LOW      │   2.0 ║
║ CVE-2020-14343        │                     │             │          │       ║
╚═══════════════════════╧═════════════════════╧═════════════╧══════════╧═══════╝
╭────────────── Recommendation ───────────────╮
│ ✅ No package requires immediate attention. │
╰─────────────────────────────────────────────╯

from dep-scan.

prabhu avatar prabhu commented on June 12, 2024

@almaz045 can you also do?

pip uninstall appthreat-vulnerability-db

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.