MongoDB Ruby Driverの脆弱性、信頼できないExtended JSON解析で保存データを改ざんされるおそれ
Summary
MongoDB Ruby DriverのBSON解析処理に型の混同による脆弱性が見つかり、入力内容によって保存されるドキュメントの構造が変えられるおそれがあります。影響するのは4.8.0以上5.2.1未満で、修正版は5.2.1です。信頼できないExtended JSONを解析して保存しているシステムは、早めにアップデートしてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
MongoDB Ruby DriverのBSON解析処理に型の混同による脆弱性が見つかり、入力内容によって保存されるドキュメントの構造が変えられるおそれがあります。影響するのは4.8.0以上5.2.1未満で、修正版は5.2.1です。信頼できないExtended JSONを解析して保存しているシステムは、早めにアップデートしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBRuby Driver |
≥ 4.8.0, < 5.2.1→ 5.2.1 |
5.2.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-135226 ruby-bson No fixed version in this record
Original description The description as published by the source.
A type-confusion weakness in the Extended JSON parsing component of BSON for Ruby allows a party who can supply parser input to influence how a serialized document is framed. Content placed in one value may be read back as additional or replacement document fields. An unauthenticated party supplying input to an application that parses untrusted Extended JSON and stores the result may cause unintended modification of stored data.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com