{"id":"UBUNTU-CVE-2021-20333","details":"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.","modified":"2026-04-13T10:54:58.618030Z","published":"2021-07-23T12:15:00Z","upstream":["CVE-2021-20333"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20333"},{"type":"REPORT","url":"https://jira.mongodb.org/browse/SERVER-50605"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-20333"}],"affected":[{"package":{"name":"mongodb","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/mongodb@1:3.6.3-0ubuntu1.4+esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.4.7-1","1:3.4.7-1ubuntu1","1:3.4.7-1ubuntu2","1:3.4.7-1ubuntu4","1:3.4.14-3ubuntu1","1:3.4.14-3ubuntu2","1:3.6.3-0ubuntu1","1:3.6.3-0ubuntu1.1","1:3.6.3-0ubuntu1.3","1:3.6.3-0ubuntu1.4","1:3.6.3-0ubuntu1.4+esm1","1:3.6.3-0ubuntu1.4+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"mongodb","binary_version":"1:3.6.3-0ubuntu1.4+esm2"},{"binary_version":"1:3.6.3-0ubuntu1.4+esm2","binary_name":"mongodb-clients"},{"binary_name":"mongodb-server","binary_version":"1:3.6.3-0ubuntu1.4+esm2"},{"binary_name":"mongodb-server-core","binary_version":"1:3.6.3-0ubuntu1.4+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20333.json"}},{"package":{"name":"mongodb","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/mongodb@1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"mongodb","binary_version":"1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"},{"binary_name":"mongodb-clients","binary_version":"1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"},{"binary_name":"mongodb-server","binary_version":"1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"},{"binary_name":"mongodb-server-core","binary_version":"1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20333.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}