BSON injection vulnerability in the legal? function in BSON (bson-ruby) gem before 3.0.4…
Priority MEDIUM 50CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
EPSS 0.04663 91st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial bson (RubyGems): 1.12.3, 3.0.4Red Hat: 3 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | bson (RubyGems) | before 1.12.3 | 1.12.3 | Patch available | GHSA-h6rj-8r3c-9gpj |
| — | bson (RubyGems) | 2.0 to before 3.0.4 | 3.0.4 | Patch available | GHSA-h6rj-8r3c-9gpj |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- bson (RubyGems) Vendor— Affected before 1.12.3 Fixed in 1.12.3 Patch available GHSA-h6rj-8r3c-9gpj
- bson (RubyGems) Vendor— Affected 2.0 to before 3.0.4 Fixed in 3.0.4 Patch available GHSA-h6rj-8r3c-9gpj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bson_project:bson:3.0.3:*:*:*:*:ruby:*:* | 3.0.3 | Vulnerable | Bson Project |
- cpe:2.3:a:bson_project:bson:3.0.3:*:*:*:*:ruby:*:* Versions 3.0.3 Vulnerable ·Bson Project
Remediation
- Fix · GHSA-h6rj-8r3c-9gpj bson (RubyGems) Fixed in 1.12.3 Advisory →
- Fix · GHSA-h6rj-8r3c-9gpj bson (RubyGems) Fixed in 3.0.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Enterprise 2 | Affected | No fix yet |
| Red Hat Software Collections | Affected | No fix yet |
| Red Hat Subscription Asset Manager | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-4412
- 2026-10-03 Alias added: GHSA-h6rj-8r3c-9gpj
References
Advisory 4
Sources
- CVE-2015-4412 · CVE Program
- CVE-2015-4412 · NVD
- FIRST EPSS
- GHSA-h6rj-8r3c-9gpj · GitHub Advisory Database · CC BY 4.0
- CVE-2015-4412 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences