Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. bson
  4. ›
  5. CVE-2015-4412

CVE-2015-4412: Data Injection Vulnerability

February 5, 2018 (updated March 13, 2018)

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

References

  • sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
  • seclists.org/oss-sec/2015/q2/653
  • github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999

Code Behaviors & Features

Detect and mitigate CVE-2015-4412 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.12.3, all versions after 2.0.0a before 3.0.4

Fixed versions

  • 1.12.3
  • 3.0.4

Solution

Upgrade to versions 1.12.3, 3.0.4 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

gem/bson/CVE-2015-4412.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.