CVE-2015-4412
rubygem-bson: data injection vulnerability through a crafted ObjectId
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA, Ruby Advisory DB. Más baja según Red Hat (baja).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | bson | 1.12.3, 3.0.4 |
| rubygems::Ruby Advisory Database | bson | ~> 1.12.3, >= 3.0.4 |
| Red Hat | rh-ror41-rubygem-bson, rh-ror41-rubygem-bson-doc, ror40-rubygem-bson y 3 más | sin corrección indicada |
Mostrar las 8 entradas de 3 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | bson | 1.12.3, 3.0.4 |
| rubygems::Ruby Advisory Database | bson | ~> 1.12.3, >= 3.0.4 |
| Red Hat | rh-ror41-rubygem-bson | sin corrección indicada |
| Red Hat | rh-ror41-rubygem-bson-doc | sin corrección indicada |
| Red Hat | ror40-rubygem-bson | sin corrección indicada |
| Red Hat | ror40-rubygem-bson-doc | sin corrección indicada |
| Red Hat | ruby193-rubygem-bson | sin corrección indicada |
| Red Hat | ruby193-rubygem-bson-doc | sin corrección indicada |
Referencias
- http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
- http://www.openwall.com/lists/oss-security/2015/06/06/3
- http://www.securityfocus.com/bid/75045
- https://access.redhat.com/security/cve/CVE-2015-4412
- https://bugzilla.redhat.com/show_bug.cgi?id=1229750
- https://github.com/advisories/GHSA-h6rj-8r3c-9gpj
- https://github.com/mongodb/bson-ruby
- https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999
Las 14 referencias
- https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7
- https://github.com/mongodb/mongo-ruby-driver/compare/6ae981167759d5819ba3d41e374e5b2af5b79077~1...9859a3ab9773a8a883eb8438b665a921cc991c71
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bson/CVE-2015-4412.yml
- https://nvd.nist.gov/vuln/detail/CVE-2015-4412
- https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
- https://www.cve.org/CVERecord?id=CVE-2015-4412