Resource exhaustion in Bson Project
CVE-2015-4412
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.047, 91.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Bson Project — versions 3.0.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/75045 (Third Party Advisory, VDB Entry, vdb-entry)
- github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999 (Third Party Advisory)
- github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca… (Patch, Third Party Advisory, Issue Tracking)
- sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html (Exploit, Patch, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- [oss-security] 20150606 Re: CVE Request: bson-ruby DoS and possible injection (mailing-list, Mailing List)