Bug 1900865 (CVE-2019-2392)

Summary: CVE-2019-2392 mongodb: Denial of service via crafted queries which use the $mod operator
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: admiller, athomas, bkearney, clalancette, databases-maint, gghezzo, gparvin, hhorak, jjoyce, jorton, jramanat, jschluet, jweiser, lhh, lpeer, mburns, mskalicky, panovotn, sclewis, slinaber, stcannon, strobert, tdawson, thee
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mongodb 3.4.24, mongodb 3.6.15, mongodb 4.0.14, mongodb 4.2.1, mongodb 4.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 12:09:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1901075, 1904451    
Bug Blocks: 1900872    

Description Pedro Sampaio 2020-11-23 20:59:11 UTC
A user authorized to perform database queries may trigger denial of service by issuing specially crafted queries, which use the $mod operator to overflow negative values. This issue affects: MongoDB Inc. MongoDB Server v4.4 versions prior to 4.4.1; v4.2 versions prior to 4.2.9; v4.0 versions prior to 4.0.20; v3.6 versions prior to 3.6.20.

Upstream bug:

https://jira.mongodb.org/browse/SERVER-43699

Comment 1 Pedro Sampaio 2020-11-24 12:52:49 UTC
Created mongodb tracking bugs for this issue:

Affects: epel-all [bug 1901075]

Comment 2 Yadnyawalk Tale 2020-11-30 17:39:26 UTC
Red Hat Satellite 6.6 onward does not ship the MongoDB package; however, the product consumes MongoDB from Red Hat Software Collections (RHSCL) for Red Hat Enterprise Linux. Satellite has no plans to update to a version of MongoDB released with a Server Side Public License (SSPL) which includes all versions released after October 16, 2018. Refer to this article for more information: https://access.redhat.com/articles/5767021

Comment 3 Riccardo Schirone 2020-12-01 10:47:11 UTC
Upstream patch:
https://github.com/mongodb/mongo/commit/21d8699ed6c517b45e1613e20231cd8eba894985