Giter VIP home page Giter VIP logo

Comments (4)

mikesaelim avatar mikesaelim commented on June 28, 2024

Hey @colinxfleming, sorry for the long wait. Can you elaborate on the use case for scanning ruby and rubygems versions that aren't in the current environment?

from ruby_audit.

skomanduri avatar skomanduri commented on June 28, 2024

I found an explanation of the issue here: coinbase/salus#56 (comment)

Since this runs within the context of a docker container, I think that means it'll really be scanning the docker container for ruby and rubygems vulns rather than the lockfile, making it sorta useless.

In a docker container, we don't have access to anything but the filesystem.
https://github.com/coinbase/salus seems to be built with this assumption.

Unfortunately, Gemfile.lock doesn't store the Rubygems version, and only stores the Ruby version if it is specified in Gemfile. I'm not sure how to get this information reliably from within a container.

from ruby_audit.

colinxfleming avatar colinxfleming commented on June 28, 2024

hi, sorry for taking so long to come back to this. thanks @skomanduri for topping it - that's pretty much the use case.

I did some experimentation and found that doing this reliably would probably require a bundler change. I doubt this issue will get a lot of traction bundler-side, so we can close this down if you'd like to keep the issues list clean.

from ruby_audit.

mikesaelim avatar mikesaelim commented on June 28, 2024

It's no problem. I'll close the issue, but if a reliable way to do this appears, feel free to reopen this or open another issue!

from ruby_audit.

Related Issues (7)

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.