News for hackers. Stuff that matters.
Re:Multiple vulnerabilities in RubyGems by devmunchies on Tuesday August 29, 2017 @08:40PM (#15128817)
would you have to go out of your way to find a malicious gem though? Its not like any of the popular gems would try to overwrite files, right?
Re:Multiple vulnerabilities in RubyGems by arkadiyt on Tuesday August 29, 2017 @09:56PM (#15129160)
There was recently a fiasco with NPM over a malicious node package whose name was an intentional typo of a popular package, and upon installation it exfiltrated all environment variables: https://twitter.com/o_cee/status/892306836199800836

After this got uncovered, Duo published a blog post where they scanned for and found several others malicious packages:

https://duo.com/blog/hunting-malicious-npm-packages

The last one they talk about worms itself by adding itself to any packages authored on the computer it's installed on.

These issues are not unique to npm.

Re:Multiple vulnerabilities in RubyGems by paulie_a on Tuesday August 29, 2017 @08:56PM (#15128896)
Why go out of the way when you can just buy a popular one, this was a fairly mild version of that: https://forum.sublimetext.com/t/rfc-default-package-control-...

Granted that was just data collection, but the outcome could be incredibly worse if a combo of popular but bad code and a little bit of money.

Re:Multiple vulnerabilities in RubyGems by boombip on Tuesday August 29, 2017 @08:55PM (#15128894)
Well an existing gem might not. But a gem you use has could have a developer's computer get compromised and could publish a malicious update. If you inadvertently download it while updating your gems you could get compromised.

The problem here is that you don't even have to get directly attacked to be affected.

Re:Multiple vulnerabilities in RubyGems by fish_fan on Tuesday August 29, 2017 @08:54PM (#15128884)
Well it's a web of trust: typically people only trust their Gemfile, not their entire Gemfile.lock. If you audit the latter you should be fine (though of course you should upgrade regardless).
Re:Multiple vulnerabilities in RubyGems by bottled_poe on Tuesday August 29, 2017 @08:55PM (#15128888)
How much do you trust the code review process on every ruby gem?