CVE-2015-4412
Bson Project Bson vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Bson. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Bson Project Bson runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a8 · Patch
- sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html · Exploit
- www.securityfocus.com/bid/75045 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=1229750 · Third Party Advisory
- github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999 · Third Party Advisory
- www.openwall.com/lists/oss-security/2015/06/06/3
- nvd.nist.gov/vuln/detail/CVE-2015-4412
- cve.org/CVERecord?id=CVE-2015-4412
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.