A user authorized to perform database queries may trigger denial of service by issuing specially crafted applyOps invocations. This issue affects MongoDB Server v4.0 versions prior to 4.0.10 and MongoDB Server v3.6 versions prior to 3.6.13.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20804.json"
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"175603822783044971019641112208146333316",
"175970064386882756922064184835545998872",
"280890145546106279720669451529096251243",
"177145452068869207173493918846944381727",
"313900252086444751672369110289130781353",
"179223562212308464752110380330641384963"
]
},
"id": "CVE-2018-20804-708ef0e6",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/db3c76679b7a3d9b443a0e1b3e45ed02b88c539f",
"target": {
"file": "src/mongo/s/write_ops/batch_write_op.cpp"
}
},
{
"digest": {
"length": 74.0,
"function_hash": "151727694202851320526834926440811425131"
},
"id": "CVE-2018-20804-88f2f84c",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/mongodb/mongo/commit/db3c76679b7a3d9b443a0e1b3e45ed02b88c539f",
"target": {
"function": "BatchWriteOp::~BatchWriteOp",
"file": "src/mongo/s/write_ops/batch_write_op.cpp"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"312287553513410227323734030972566420683",
"339060627389979159865010729741437226864",
"257731760090097810615638822053635781882",
"326017759011467743570910503699191818384"
]
},
"id": "CVE-2018-20804-d75001a3",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/c389e7f69f637f7a1ac3cc9fae843b635f20b766",
"target": {
"file": "src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.cpp"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"340004267183464091978939854210276221300",
"142313603819071205760085014427835771346",
"204488877892569140033225998406769054398",
"38671843303958937785731461894518042107"
]
},
"id": "CVE-2018-20804-f4e9f373",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/db3c76679b7a3d9b443a0e1b3e45ed02b88c539f",
"target": {
"file": "src/mongo/s/write_ops/batch_write_op.h"
}
}
]
"2026-04-11T14:54:26Z"