CVE-2015-4411: High severity MongoDB Bson Ruby vulnerability

Published Jun 9, 2015
·
Updated

The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.

Other sources

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-4411 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/mongorubyregexp.html

The fix can be found here: https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999

Red Hat

The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.

MITRE

Affected Software

5 affected componentsFixes available
rubygems/bson<3.0.4
3.0.4
MongoDB Bson Ruby<3.0.4
Fedoraproject Fedora=21
Fedoraproject Fedora=22
debian/ruby-bson
4.10.0-24.15.0-15.2.0-2

Event History

Jun 9, 2015
Data Sourced
via Red Hat·01:25 PM
DescriptionSeverityAffected Software
Feb 20, 2020
CVE Published
via MITRE·04:24 PM
Data Sourced
via MITRE·04:24 PM
Description
Apr 29, 2020
Advisory Published
03:34 PM
Feb 18, 2026
Data Sourced
via Debian·10:43 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-4411?

CVE-2015-4411 has a medium severity rating due to its potential to cause denial of service.

2

What are the affected versions of CVE-2015-4411?

CVE-2015-4411 affects versions of mongodb/bson-ruby prior to 3.0.4.

3

How do I fix CVE-2015-4411?

To fix CVE-2015-4411, upgrade to bson versions 3.0.4 or later.

4

What type of attack does CVE-2015-4411 enable?

CVE-2015-4411 allows remote attackers to cause a denial of service through resource consumption.

5

Is there a direct relation between CVE-2015-4411 and CVE-2015-4410?

Yes, CVE-2015-4411 is related to an incomplete fix for CVE-2015-4410.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203