News for hackers. Stuff that matters.
Re:Ruby Garbage Collection: Still Not Ready for Production by x0x0 on Friday March 28, 2014 @01:02PM (#7488476)
stuff like this is why people use the jvm; at this point, it's pretty bulletproof
Re:Ruby Garbage Collection: Still Not Ready for Production by ori_b on Friday March 28, 2014 @05:34PM (#7490088)
I haven't needed to maintain a production service using the JVM, but I've seen coworkers debug one where the service was producing too much garbage for the GC to keep up with, and then falling over with an OOM error.

No, using another language wouldn't have solved the issue. Modifying the code to reduce the amount of garbage produced was one of the solutions. Deleting the code not too long after was the ultimate solution.

Re:Ruby Garbage Collection: Still Not Ready for Production by Fasebook on Friday March 28, 2014 @01:13PM (#7488549)
Gotta love those reflection api attacks and other remote procedure injections. Also, don't forget that everything is an object.
Re:Ruby Garbage Collection: Still Not Ready for Production by petersellers on Friday March 28, 2014 @06:27PM (#7490349)
>Also, don't forget that everything is an object.

This is false. What point are you trying to make here?

Re:Ruby Garbage Collection: Still Not Ready for Production by mavroprovato on Friday March 28, 2014 @01:48PM (#7488812)
Could you provide an example of those attacks/injections?
Re:Ruby Garbage Collection: Still Not Ready for Production by Fasebook on Friday March 28, 2014 @02:03PM (#7488915)
Read this backwards: http://en.wikipedia.org/wiki/Java_EE_version_history

of course, Jvm is insecure by design, that's the whole point of a VM, really, to run anything no matter the context, so they're always be the same ways to escape the sandbox: http://seclists.org/fulldisclosure/2013/Jul/172 The only thing keeping it secure is legions of devs and an "application server" propagating trust.

Re:Ruby Garbage Collection: Still Not Ready for Production by mavroprovato on Friday March 28, 2014 @03:17PM (#7489368)
I really do not understand what the Jave EE version history page has to do with the security of the Java runtime.

As for the other link, I think you have mixed things up a little. Those vulnerabilities are ways to bypass the Java sandbox, when Java is running in the browser as an applet. This is really not comparable to Ruby, as it cannot run in the browser and does not even have a sandbox functionality as far as I know.

Show me a way to remotely execute code on a machine just because it is running Java, and you will have my fullest attention :-)

Re:Ruby Garbage Collection: Still Not Ready for Production by berdario on Friday March 28, 2014 @02:20PM (#7489007)
How can a JRuby (or Clojure, or Jython...) REST api trigger a vulnerability in the Java reflection?

I was always under the impression that such kind of vulnerabilities were only a problem for Java applets (where the sandbox is actually important)

Has any exploit ever been built for such circumstances? (I admit that I'm ignorant of their existance)

Re:Ruby Garbage Collection: Still Not Ready for Production by jerven on Friday March 28, 2014 @06:31PM (#7490361)
The JVM has at least a security model/system. Something the Ruby MRI VM lacks. i.e. a ruby program is never in a sandbox.

Using the JVM with JRuby or Ruby MRI as webserver are reasonably equivalent in security footprint. And in recent history MRI has had really worrying security issues too e.g. https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-i...

I mean security can always be improved but you are comparing apples to apples and declaring one of the two to be an orange without decent evidence or support.

Re:Ruby Garbage Collection: Still Not Ready for Production by hawleyal on Friday March 28, 2014 @03:10PM (#7489321)
lolwut