Loading...
Skip to main content

CVE-2015-4411 — Vulnerability in bson — CVE Details

HIGH

BSON rubygem contains potential denial of service

Published April 29, 2020Updated February 16, 2024Source: osv

Summary

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.

Advisory Timeline

  • First published April 29, 2020 (2357 days ago).
  • Last revised February 16, 2024 — 1388 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update bson to 3.0.4 or later
gem install bson -v 3.0.4

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
bson
rubygems
0.20, 0.20.1, 1.0, 1.0.1 (+88 more)3.0.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Frequently Asked Questions

What is CVE-2015-4411?
BSON rubygem contains potential denial of service This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2015-4411?
CVE-2015-4411 affects bson. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2015-4411 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-qh4w-7pw3-p4rp

Related CVEs

  • CVE-2015-4412
    CRITICAL

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

  • CVE-2026-94462
    HIGH

    Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)

  • CVE-2026-77601
    HIGH

    OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies