bson 1.2.1

2 security vulnerabilities found in version 1.2.1

Data Injection Vulnerability in bson Rubygem

critical severity CVE-2015-4412
critical severity CVE-2015-4412
Patched versions: ~> 1.12.3, >= 3.0.4

A flaw in the ObjectId validation regular expression can enable attackers to inject arbitrary information into a given BSON object.

Potential denial of service in bson rubygem

high severity CVE-2015-4411
high severity CVE-2015-4411
Patched versions: >= 3.0.4

The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.

No officially reported memory leakage issues detected.


This gem version does not have any officially reported memory leaked issues.

Author did not declare license for this gem in the gemspec.


This gem version has a Apache-2.0 license in the source code, however it was not declared in the gemspec file.

This gem version is available.


This gem version has not been yanked and is still available for usage.