MongoDB C# Driver 不正なBSONで無制限にメモリを消費されサービス停止
Summary
MongoDB C# DriverのBSONライブラリで、一部のBSON値の逆シリアル化時に、読み込んだデータが上限なく保持される問題が見つかりました。認証なしの遠隔の攻撃者が悪用すると、メモリが枯渇してアプリケーションが停止するおそれがあります。影響を受けるのは2.0.0以上3.13.0未満で、3.13.0で修正されています。
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 C# DriverのBSONライブラリで、一部のBSON値の逆シリアル化時に、読み込んだデータが上限なく保持される問題が見つかりました。認証なしの遠隔の攻撃者が悪用すると、メモリが枯渇してアプリケーションが停止するおそれがあります。影響を受けるのは2.0.0以上3.13.0未満で、3.13.0で修正されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBC# Driver |
≥ 2.0.0, < 3.13.0→ 3.13.0 |
3.13.0 |
Original description The description as published by the source.
The MongoDB C# Driver's BSON library contains an uncontrolled resource consumption weakness in its deserialization handling of one BSON value type. An application that deserializes untrusted content with the library retains data derived from that content for the lifetime of the process, with no limit on how much accumulates. An unauthenticated remote party who can cause such content to be deserialized can drive unbounded memory growth, exhausting the host application's available memory and denying service. There is no impact to confidentiality or integrity, and no MongoDB server component is affected.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web jira.mongodb.org
- web github.com