Critical severity9.8NVD Advisory· Published Feb 5, 2018· Updated Jun 17, 2026
CVE-2015-4412
CVE-2015-4412
Description
BSON injection vulnerability in the legal? function in BSON (bson-ruby) gem before 3.0.4 for Ruby allows remote attackers to cause a denial of service (resource consumption) or inject arbitrary data via a crafted string.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
bsonRubyGems | < 1.12.3 | 1.12.3 |
bsonRubyGems | >= 2.0, < 3.0.4 | 3.0.4 |
Affected products
1Patches
Vulnerability mechanics
References
10- github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7nvdIssue TrackingPatchThird Party AdvisoryWEB
- sakurity.com/blog/2015/06/04/mongo_ruby_regexp.htmlnvdExploitPatchThird Party AdvisoryWEB
- www.securityfocus.com/bid/75045nvdThird Party AdvisoryVDB EntryWEB
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-h6rj-8r3c-9gpjghsaADVISORY
- github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2015-4412ghsaADVISORY
- sakurity.com/blog/2015/06/04/mongo_ruby_regexp.htmlghsaWEB
- www.openwall.com/lists/oss-security/2015/06/06/3nvdMailing ListWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/bson/CVE-2015-4412.ymlghsaWEB
News mentions
0No linked articles in our index yet.