Comments (3)
As best as I can tell, this is the same old YAML allocating arbitrary ruby objects class of exploit? If so, the fix is tricky without breaking things.
At this point, I'm not going to panic. Here's why:
- This software is not designed to run on public infrastructure, so I'm less concerned than I would be on a public facing app.
- We're running a fairly small get of gems, with no autoloading of missing constants. This gives a much smaller target area, for exploitation, and the now standard ActionController::Routing::RouteSet::NamedRouteCollection path to actual evaluation is not open (we don't run on Rails).
My plan for right now is to stay calm, carry on, then watch for what Rubygems.org do.
You never know, but the whole "let's keep things in YAML" part of RubyGems may have to die, opening up a whole new world of magic and wonderment and endless updating 😀
What I'm actually expecting, is a fix in rubygems, that closes the hole. As geminabox offloads most of the interesting work to rubygems (it actually does exactly 0 work with YAML apart from passing them around uninspected), the fix will be "Upgrade rubygems", and I'll probably end up setting it up as a minimal requirement for running the app.
That said, if anyone can find a path through, and get a patch out, please do let me know.
from geminabox.
I think you're right here. It was just in case.
What I'm actually expecting, is a fix in rubygems, that closes the hole.
So glad to hear clear thinking in here 👍
from geminabox.
Cool Beanz!
from geminabox.
Related Issues (20)
- Drop support for RubyGems before 2.5.0
- Drop support for RubyGems before 2.4.0 HOT 2
- Drop Ruby 2.2 support
- Drop Ruby 2.3 support HOT 5
- Drop Ruby 2.4 support HOT 5
- Drop Ruby 2.5 support HOT 3
- Drop Ruby 2.6 support HOT 3
- rake c warns loading "ubygems"
- Add Code of Conduct HOT 3
- Add CONTRIBUTING
- Add logo to README HOT 1
- Join good first issue platform HOT 5
- Improve bundled Dockerfile HOT 6
- How to auth per gem? HOT 1
- NameError - uninitialized constant Geminabox::VERSION HOT 12
- Support Ruby 3.2 HOT 2
- Non-Compliance with Dependency API Deprecation HOT 20
- Docker error on start: handler.rb:45:in `pick': Couldn't find handler for: puma, thin, falcon, webrick. (LoadError) HOT 1
- Update Sinatra Dependency HOT 9
- Security: Rebuild to fix multiple vulnerabilities? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geminabox.