The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in…
Priority MEDIUM 42CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
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.
Why it matters now
EPSS 0.06372 93rd percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial bson (RubyGems): 3.0.4Red Hat: 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | bson (RubyGems) | before 3.0.4 | 3.0.4 | Patch available | GHSA-qh4w-7pw3-p4rp |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- bson (RubyGems) Vendor— Affected before 3.0.4 Fixed in 3.0.4 Patch available GHSA-qh4w-7pw3-p4rp
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mongodb:bson:*:*:*:*:*:ruby:*:* | before 3.0.4 | Vulnerable | MongoDB |
| cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* | 21 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* | 22 | Vulnerable | Fedoraproject |
- cpe:2.3:a:mongodb:bson:*:*:*:*:*:ruby:*:* Versions before 3.0.4 Vulnerable ·MongoDB
- cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* Versions 21 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* Versions 22 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-qh4w-7pw3-p4rp bson (RubyGems) Fixed in 3.0.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Enterprise 2 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-4411
- 2026-10-03 Alias added: GHSA-qh4w-7pw3-p4rp
References
Exploit 2
Patch 4
- https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24
- https://github.com/mongodb/bson-ruby/commit/fef6f75413511d653c76bf924a932374a183a24f#diff-8c8558c185bbb548ccb5a6d6ac4bfee5R191
- https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7
- https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999
Advisory 8
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html
- http://www.openwall.com/lists/oss-security/2015/06/06/3
- https://bugzilla.redhat.com/show_bug.cgi?id=1229706
- https://seclists.org/oss-sec/2015/q2/653
- https://security-tracker.debian.org/tracker/CVE-2015-4411
- https://nvd.nist.gov/vuln/detail/CVE-2015-4411
- https://github.com/advisories/GHSA-qh4w-7pw3-p4rp
Sources
- CVE-2015-4411 · CVE Program
- CVE-2015-4411 · NVD
- FIRST EPSS
- GHSA-qh4w-7pw3-p4rp · GitHub Advisory Database · CC BY 4.0
- CVE-2015-4411 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences