Bug 1229757 (CVE-2015-4410) - CVE-2015-4410 rubygem-moped: Denial of Service with crafted ObjectId string
Summary: CVE-2015-4410 rubygem-moped: Denial of Service with crafted ObjectId string
Alias: CVE-2015-4410
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On:
Blocks: 1228705
TreeView+ depends on / blocked
Reported: 2015-06-09 14:56 UTC by Vasyl Kaigorodov
Modified: 2019-09-29 13:33 UTC (History)
14 users (show)

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

Attachments (Terms of Use)

Description Vasyl Kaigorodov 2015-06-09 14:56:07 UTC
The following Denial of Service issue was discovered in Moped Ruby gem:

If a crafted value will be passed to Moped::BSON::ObjecId.legal? method, this will cause Moped to think MongoDB is down, and ping it 39 more times with intervals.
In other words, Moped will keep a worker busy for 5 seconds and make x40 requests to MongoDB.

CVE-2015-4410 was assigned to it: http://seclists.org/oss-sec/2015/q2/653
Additional details might be found here: http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
The fix can be found here:

Comment 1 Kurt Seifried 2015-07-29 22:22:25 UTC

This issue affects the versions of rubygem-moped 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.