CVE-2015-4411
HIGH 7.5CVSS 3.1BSON 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.
- Published
- 20 Feb 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-qh4w-7pw3-p4rp
- Sources
- NVDJSONOSV GHSA-qh4w-7pw3-p4rpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mongodb | bsoncpe:2.3:a:mongodb:bson:*:*:*:*:*:ruby:*:* |
< 3.0.4 | 3.0.4 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* |
= 21 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* |
= 22 | |
| OSV | RubyGems | bson | < 3.0.4 | 3.0.4 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html · Mailing List, Third Party Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2015/06/06/3 · Mailing List, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/75045 · Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1229706 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999 · Patch, WEB
- https://github.com/mongodb/bson-ruby/commit/fef6f75413511d653c76bf924a932374a183a24f#diff-8c8558c185bbb548ccb5a6d6ac4bfee5R191 · Patch, WEB
- https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7 · Patch, WEB
- https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24 · Patch, WEB
- https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html · Exploit, Third Party Advisory, WEB
- https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html · Exploit, Third Party Advisory, WEB
- https://seclists.org/oss-sec/2015/q2/653 · Mailing List, Third Party Advisory, WEB
- https://security-tracker.debian.org/tracker/CVE-2015-4411 · Third Party Advisory, WEB
- https://www.securityfocus.com/bid/75045 · Third Party Advisory, VDB Entry
- https://nvd.nist.gov/vuln/detail/CVE-2015-4411 · ADVISORY
- https://github.com/advisories/GHSA-qh4w-7pw3-p4rp · ADVISORY
- https://github.com/mongodb/bson-ruby · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bson/CVE-2015-4411.yml · WEB
- https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 20 Feb 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Apr 2020)