title: Improper neutralization of null byte leads to read overrun
description: A user authorized to perform database queries may trigger a read overrun and access arbitrary memory by issuing specially crafted queries. This issue affects MongoDB Server v4.4 versions prior to 4.4.1; MongoDB Server v4.2 versions prior to 4.2.9; MongoDB Server v4.0 versions prior to 4.0.20 and MongoDB Server v3.6 versions prior to 3.6.20.
problem types: CWE-158: Improper Neutralization of Null Byte or NUL Character
affected:
{
defaultStatus: unaffected
product: MongoDB Server
vendor: MongoDB Inc.
versions:
lessThan: 4.4.1, status: affected, version: 4.4, versionType: custom
lessThan: 4.2.9, status: affected, version: 4.2, versionType: custom
lessThan: 4.0.20, status: affected, version: 4.0, versionType: custom
lessThan: 3.6.20, status: affected, version: 3.6, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 6.5
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL