Security mailing lists by PureSourceCode

CVE-2015-4412

CRITICAL 9.8CVSS 3.0

bson is vulnerable to denial of service due to incorrect regex validation

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.

Published
5 Feb 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-h6rj-8r3c-9gpj
Sources
NVDJSONOSV GHSA-h6rj-8r3c-9gpjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bson_project bson
cpe:2.3:a:bson_project:bson:3.0.3:*:*:*:*:ruby:*:*
= 3.0.3
OSV RubyGems bson < 1.12.3 1.12.3
OSV RubyGems bson >= 2.0, < 3.0.4 3.0.4

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 5 Feb 2018)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Mar 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.