CVE Vulnerabilities

CVE-2020-7929

Incorrect Regular Expression

Published: Mar 01, 2021 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A user authorized to perform database queries may trigger denial of service by issuing specially crafted query contain a type of regex. This issue affects MongoDB Server v3.6 versions prior to 3.6.21 and MongoDB Server v4.0 versions prior to 4.0.20.

Weakness

The product specifies a regular expression in a way that causes data to be improperly matched or compared.

Affected Software

NameVendorStart VersionEnd Version
MongodbMongodb3.6.0 (including)3.6.21 (excluding)
MongodbMongodb4.0.0 (including)4.0.20 (excluding)
MongodbUbuntubionic*
MongodbUbuntufocal*
MongodbUbuntutrusty*
MongodbUbuntutrusty/esm*
MongodbUbuntuupstream*
MongodbUbuntuxenial*

Potential Mitigations

References