News for hackers. Stuff that matters.
Re:Mongo BSON Injection: Ruby Regexps Strike Again by rsutphin on Wednesday June 03, 2015 @10:31PM (#9657118)
I tested on our app (which uses BSON-ruby 1.9.2) and was surprised to find that the detection code indicated it was not vulnerable. Turned out it was because we also use bson_ext — bson_ext replaces the vulnerable method with a C implementation which doesn't use regexes.
Re:Mongo BSON Injection: Ruby Regexps Strike Again by ploxiln on Wednesday June 03, 2015 @11:34PM (#9657302)
Kinda funny to see a "safe" language saved by C. Just sayin'
Re:Mongo BSON Injection: Ruby Regexps Strike Again by cheald on Wednesday June 03, 2015 @10:35PM (#9657127)
Oh, that's a good catch. I checked on JRuby, which doesn't use bson_ext.