CVE-2015-4411
BSON rubygem contains potential denial of service
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2015-4411- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-400
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2015-4411- Updated
- 2026-11-02
EUVDEUVD-2020-0391 No score
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.
- Record
EUVD-2020-0391- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qh4w-7pw3-p4rp
7.5
BSON rubygem contains potential denial of service
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.
- Record
GHSA-qh4w-7pw3-p4rp- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVGHSA-qh4w-7pw3-p4rp
7.5
BSON rubygem contains potential denial of service
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.
- Record
GHSA-qh4w-7pw3-p4rp- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bsonRubyGems |
before 3.0.4 | 3.0.4 |
bsonRubyGems |
before 3.0.4, plus listed versions 0.200.20.11.01.0.11.0.2 Show 45 moreShow less1.0.31.0.41.0.51.0.61.0.71.0.91.11.1.11.1.21.1.31.1.41.1.51.10.01.10.0.rc01.10.0.rc11.10.11.10.21.11.11.12.01.12.0.rc01.12.0.rc11.12.0.rc21.12.11.12.21.12.31.12.41.12.51.2.01.2.11.2.21.2.31.2.41.2.rc01.2.rc11.2.rc21.3.01.3.0.rc01.3.11.4.01.4.11.5.01.5.0.rc01.5.11.5.21.6.0 |
3.0.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-4411 is a high vulnerability (CVSS 7.5) in Mongodb Bson, published February 20, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.37%, the 93rd percentile. Fixed in bson 3.0.4.
References
sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html
lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html
lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html
openwall.com/lists/oss-security/2015/06/06/3
securityfocus.com/bid/75045
Show 12 moreShow less
github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b
bugzilla.redhat.com/show_bug.cgi?id=1229706
github.com/mongodb/bson-ruby/commit/fef6f75413511d653c76bf924a932374a183a24f
github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7
seclists.org/oss-sec/2015/q2/653
github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999
security-tracker.debian.org/tracker/CVE-2015-4411
nvd.nist.gov/vuln/detail/CVE-2015-4411
github.com/advisories/GHSA-qh4w-7pw3-p4rp
github.com/rubysec/ruby-advisory-db/blob/master/gems/bson/CVE-2015-4411.yml
web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045
github.com/mongodb/bson-ruby
Left out here: 42 versions. The JSON record has them.