CVE Vulnerabilities

CVE-2019-2393

Use After Free

Published: Nov 23, 2020 | 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 queries, which use $lookup and collations. This issue affects MongoDB Server v4.2 versions prior to 4.2.1; MongoDB Server v4.0 versions prior to 4.0.13 and MongoDB Server v3.6 versions prior to 3.6.15.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
MongodbMongodb3.6.0 (including)3.6.15 (excluding)
MongodbMongodb4.0.0 (including)4.0.13 (excluding)
MongodbMongodb4.2.0 (including)4.2.1 (excluding)
MongodbUbuntubionic*
MongodbUbuntufocal*
MongodbUbuntutrusty*
MongodbUbuntutrusty/esm*
MongodbUbuntuupstream*
MongodbUbuntuxenial*

Potential Mitigations

References