CVE-2015-4411
BSON rubygem contains potential denial of service
Also known as GHSA-qh4w-7pw3-p4rp
Mitigation
- Upgrade bson to 3.0.4 or later.
Who should check
- Projects that depend on RubyGems package bson (< 3.0.4)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- bson < 3.0.4
- Fixed in
- 3.0.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 6.37% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- CWE
- CWE-400
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems bson | < 3.0.4 | 3.0.4 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2015-4411. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2015-4411.md Affected: bson < 3.0.4 Fixed in: 3.0.4 Steps: 1. Search this machine and project for bson (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- 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
Exploits and PoCs
Other
- 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
- http://www.securityfocus.com/bid/75045
- https://bugzilla.redhat.com/show_bug.cgi?id=1229706
- https://seclists.org/oss-sec/2015/q2/653
- https://www.securityfocus.com/bid/75045
- https://security-tracker.debian.org/tracker/CVE-2015-4411
- https://github.com/mongodb/bson-ruby
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bson/CVE-2015-4411.yml
- https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045
FAQ
Is CVE-2015-4411 being exploited?
There is no confirmed exploitation: CVE-2015-4411 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 6.37% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2015-4411?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2015-4411?
bson < 3.0.4.
Is there a fix for CVE-2015-4411?
Yes. Fixed in 3.0.4. Upgrade bson to 3.0.4 or later.
How do I check if I'm affected by CVE-2015-4411?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.