The following data injection issue was discovered in BSON Ruby gem:
It's possible to bypass Moped::BSON::ObjecId.legal? method, and pass any binary data in a crafted ObjectId string.
More details can be found here: http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
Upstream fix: https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999
Created rubygem-bson tracking bugs for this issue:
Affects: fedora-all [bug 1229751]
This issue affects the versions of rubygem-bson as shipped with Red Hat OpenShift Enterprise 2.x. Red Hat Product Security has rated this issue as having Low security impact on Red Hat OpenShift Enterprise 2. Additionally access to the component using rubygem-moped is restricted, only trusted users and systems can send messages, thus no trust boundary violation occurs and this issue can not easily be used to create an exploitable security vulnerability on Red Hat OpenShift Enterprise 2.