CVE-2015-4412
highpriority · track · 41EPSS 0.047 · 92 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-h6rj-8r3c-9gpjbson is vulnerable to denial of service due to incorrect regex validation2018-03-05ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2015/06/06/3cnnvd
- http://www.securityfocus.com/bid/75045cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1229750cnnvd
- https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999cnnvd
- https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7cnnvd
- https://rubygems.org/gems/bson/versions/3.0.4Patchcnnvd
- https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.htmlcnnvd
- http://www.openwall.com/lists/oss-security/2015/06/06/3enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan