CVE-2015-4411 json
BSON rubygem contains potential denial of service
published 6y ago modified 4mo ago also GHSA-qh4w-7pw3-p4rp , EUVD-2020-0391
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.4%
- EPSS 6.4% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems bson 3.0.4
- mongodb bson 3.0.4
Is CVE-2015-4411 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-4411 updated cvss 2.6
rubygem-moped: Denial of Service with crafted ObjectId string (incomplete fix for CVE-2015-4410)
-
Red Hat OpenShift Enterprise 2 ruby193-rubygem-mopedaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.37% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- sakurity.com https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html referenced PoC, tagged "exploit" by a source, unverified
- homakov.blogspot.ru https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | bson | <3.0.4 |
3.0.4 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24
web, patch
-
github.com
/mongodb/bson-ruby/commit/fef6f75413511d653c76bf924a932374a183a24f#diff-8c8558c185bbb548ccb5a6d6ac4bfee5R191
web, patch
-
github.com
/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999
web, patch
-
github.com
/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7
web, patch
-
sakurity.com
/blog/2015/06/04/mongo_ruby_regexp.html
web, exploit, third-party-advisory
-
homakov.blogspot.ru
/2012/05/saferweb-injects-in-various-ruby.html
web, exploit, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-July/161987.html
web, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-July/161964.html
web, mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2015/06/06/3
web, mailing-list, third-party-advisory
-
securityfocus.com
/bid/75045
third-party-advisory, vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=1229706
web, issue-tracking, third-party-advisory
-
seclists.org
/oss-sec/2015/q2/653
web, mailing-list, third-party-advisory
-
securityfocus.com
/bid/75045
third-party-advisory, vdb-entry
-
security-tracker.debian.org
/tracker/CVE-2015-4411
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-4411
advisory
-
github.com
/advisories/GHSA-qh4w-7pw3-p4rp
advisory
-
github.com
/mongodb/bson-ruby
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/bson/CVE-2015-4411.yml
web
-
web.archive.org
/web/20200228085849/http://www.securityfocus.com/bid/75045
web
Sources
- CVE List CVE-2015-4411
- GitHub Advisory GHSA-qh4w-7pw3-p4rp
- NVD CVE-2015-4411
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.