Hacker News new | past | comments | ask | show | jobs | submit login

The 1.x versions of BSON are vulnerable, too, FWIW.



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.


Kinda funny to see a "safe" language saved by C. Just sayin'


Oh, that's a good catch. I checked on JRuby, which doesn't use bson_ext.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: