### [CVE-2015-4412](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4412) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html #### Github - https://github.com/ARPSyndicate/cvemon