Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-20333 EUVD-2021-7751GHSA-ghvr-mww9-3hrg

Server log entry spoofing via newline injection

Published Jul 23, 2021 · Updated Sep 17, 2024 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Server 3.6 – < 3.6.20, 4.0 – < 4.0.21, 4.2 – < 4.2.10 3.6.20

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —

Advisories 2

References