Is bson 3.0 vulnerable?

RubyGems · 5 releases from 3.0.0 to 3.0.4 · latest bson is 5.2.0 · checked 18 Nov 2026

No known advisories in the last release

bson 3.0.4, the last 3.0 release, has no known advisories. 2 advisories affect earlier 3.0.x releases, so update to 3.0.4.

Update within 3.0:bundle update --conservative bson # Gemfile: '>= 3.0.4'

Is your project on an affected bson?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 3.0.x, affecting earlier releases

  • HighCVE-2015-4411GHSA-qh4w-7pw3-p4rp29 Apr 2020

    BSON rubygem contains potential denial of service

    Affected
    <3.0.4
    Fixed in
    3.0.4
  • CriticalCVE-2015-4412GHSA-h6rj-8r3c-9gpj5 Mar 2018

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

    Affected
    <1.12.3 · >=2.0 <3.0.4
    Fixed in
    1.12.3, 3.0.4

Every bson 3.0.x release

Affected: 3.0.0 to 3.0.3. 3.0.4 is not affected. Latest bson: 5.2.0.

VersionKnown advisories
bson 3.0.4None
bson 3.0.3CVE-2015-4411, CVE-2015-4412
bson 3.0.2CVE-2015-4411, CVE-2015-4412
bson 3.0.1CVE-2015-4411, CVE-2015-4412
bson 3.0.0CVE-2015-4411, CVE-2015-4412

Which of your client projects are still on bson 3.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact bson version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other bson versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.