title: Server log entry spoofing via newline injection
description: Sending specially crafted commands to a MongoDB Server may result in artificial log entries being generated or for log entries to be split. This issue affects MongoDB Server v3.6 versions prior to 3.6.20; MongoDB Server v4.0 versions prior to 4.0.21 and MongoDB Server v4.2 versions prior to 4.2.10.
problem types: CWE-117 Improper Output Neutralization for Logs
affected:
{
defaultStatus: unaffected
product: MongoDB Server
vendor: MongoDB Inc.
versions:
lessThan: 3.6.20, status: affected, version: 3.6, versionType: custom
lessThan: 4.0.21, status: affected, version: 4.0, versionType: custom
lessThan: 4.2.10, status: affected, version: 4.2, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 5.3
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL