Bug 1229750 (CVE-2015-4412) - CVE-2015-4412 rubygem-bson: data injection vulnerability through a crafted ObjectId
Summary: CVE-2015-4412 rubygem-bson: data injection vulnerability through a crafted Ob...
Keywords:
Status: ASSIGNED
Alias: CVE-2015-4412
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20150604,reported=2...
Depends On: 1229751 1229752 1229753
Blocks: 1228705
TreeView+ depends on / blocked
 
Reported: 2015-06-09 14:44 UTC by Vasyl Kaigorodov
Modified: 2019-06-08 20:37 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-29 22:21:58 UTC


Attachments (Terms of Use)

Description Vasyl Kaigorodov 2015-06-09 14:44:10 UTC
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

Comment 1 Vasyl Kaigorodov 2015-06-09 14:44:52 UTC
Created rubygem-bson tracking bugs for this issue:

Affects: fedora-all [bug 1229751]

Comment 7 Kurt Seifried 2015-07-29 22:21:58 UTC
Statement:

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.


Note You need to log in before you can comment on or make changes to this bug.