CVE-2021-32040
| Summary |
It may be possible to have an extremely long aggregation pipeline in conjunction with a specific stage/operator and cause a stack overflow due to the size of the stack frames used by that stage. If an attacker could cause such an aggregation to occur, they could maliciously crash MongoDB in a DoS attack. This vulnerability affects MongoDB Server v4.4 versions prior to and including 4.4.28, MongoDB Server v5.0 versions prior to 5.0.4 and MongoDB Server v4.2 versions prior to 4.2.16.
Workaround: >= v4.2.16 users and all v4.4 users can add the --setParameter internalPipelineLengthLimit=50 instead of the default 1000 to mongod at startup to prevent a crash.
|
| Publication Date |
April 13, 2022, 12:15 a.m. |
| Registration Date |
April 13, 2022, 10 a.m. |
| Last Update |
Nov. 21, 2024, 3:06 p.m. |
|
CVSS3.1 : HIGH
|
| スコア |
7.5
|
| Vector |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 攻撃元区分(AV) |
ネットワーク |
| 攻撃条件の複雑さ(AC) |
低 |
| 攻撃に必要な特権レベル(PR) |
不要 |
| 利用者の関与(UI) |
不要 |
| 影響の想定範囲(S) |
変更なし |
| 機密性への影響(C) |
なし |
| 完全性への影響(I) |
なし |
| 可用性への影響(A) |
高 |
|
CVSS2.0 : MEDIUM
|
| Score |
5.0
|
| Vector |
AV:N/AC:L/Au:N/C:N/I:N/A:P |
| 攻撃元区分(AV) |
ネットワーク |
| 攻撃条件の複雑さ(AC) |
低 |
| 攻撃前の認証要否(Au) |
不要 |
| 機密性への影響(C) |
なし |
| 完全性への影響(I) |
なし |
| 可用性への影響(A) |
低 |
| Get all privileges. |
いいえ
|
| Get user privileges |
いいえ
|
| Get other privileges |
いいえ
|
| User operation required |
いいえ
|
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* |
5.0.0 |
|
|
5.0.4 |
| cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* |
4.4.0 |
|
|
4.4.11 |
| cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* |
4.2.0 |
|
|
4.2.16 |
Related information, measures and tools
Common Vulnerabilities List
JVN Vulnerability Information
MongoDB Inc. の MongoDB における境界外書き込みに関する脆弱性
| Title |
MongoDB Inc. の MongoDB における境界外書き込みに関する脆弱性
|
| Summary |
MongoDB Inc. の MongoDB には、境界外書き込みに関する脆弱性が存在します。
|
| Possible impacts |
サービス運用妨害 (DoS) 状態にされる可能性があります。 |
| Solution |
ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 5, 2021, midnight |
| Registration Date |
July 25, 2023, 5:30 p.m. |
| Last Update |
July 25, 2023, 5:30 p.m. |
Affected System
| MongoDB Inc. |
|
MongoDB 4.2.0 以上 4.2.16 未満
|
|
MongoDB 4.4.0 以上 4.4.11 未満
|
|
MongoDB 5.0.0 以上 5.0.4 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2023年07月25日] 掲載 |
July 25, 2023, 5:30 p.m. |