Skip to content

CVE-2021-32037 User may trigger invariant when allowed to send commands directly to shards

MediumCVSS 6.5 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

Description

An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled environment. This issue affects MongoDB Server v5.0 versions prior to and including 5.0.2.

Upgrade path

6 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/mongodb(Ubuntu 14.04) = 1:2.4.6-0ubuntu5; = 1:2.4.6-0ubuntu6; = 1:2.4.8-1ubuntu1; = 1:2.4.8-2 +4 more No fix listed No fix yet
ubuntu/mongodb(Ubuntu 16.04) = 1:2.6.10-0ubuntu1; All versions No fix listed No fix yet
ubuntu/mongodb(Ubuntu 18.04) = 1:3.4.7-1; = 1:3.4.7-1ubuntu1; = 1:3.4.7-1ubuntu2; = 1:3.4.7-1ubuntu4 +7 more No fix listed No fix yet
ubuntu/mongodb(Ubuntu 20.04) = 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 more No fix listed No fix yet
MongoDB Server >= 5.0, <= 5.0.2 after 5.0.2 Fixed
mongodb/mongodb >= 5.0, <= 5.0.2; >= 5.0.0, <= 5.0.2 after 5.0.2 Fixed

Affected products

ProductAffected versionsFixed in
mongodb/mongodb >= 5.0.0, <= 5.0.2 No fix listed
MongoDB Server >= 5.0, <= 5.0.2 No fix listed
mongodb/mongodb >= 5.0, <= 5.0.2 No fix listed
ubuntu/mongodb(Ubuntu:14.04) All versions No fix listed
ubuntu/mongodb(Ubuntu:14.04) = 1:2.4.6-0ubuntu5 No fix listed
ubuntu/mongodb(Ubuntu:14.04) = 1:2.4.6-0ubuntu6 No fix listed
ubuntu/mongodb(Ubuntu:14.04) = 1:2.4.8-1ubuntu1 No fix listed
ubuntu/mongodb(Ubuntu:14.04) = 1:2.4.8-2 No fix listed
ubuntu/mongodb(Ubuntu:14.04) = 1:2.4.9-1 No fix listed
ubuntu/mongodb(Ubuntu:14.04) = 1:2.4.9-1ubuntu1 No fix listed
ubuntu/mongodb(Ubuntu:14.04) = 1:2.4.9-1ubuntu2 No fix listed
ubuntu/mongodb(Ubuntu:16.04) All versions No fix listed
ubuntu/mongodb(Ubuntu:16.04) = 1:2.6.10-0ubuntu1 No fix listed
ubuntu/mongodb(Ubuntu:18.04) All versions No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.4.7-1 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.4.7-1ubuntu1 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.4.7-1ubuntu2 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.4.7-1ubuntu4 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.4.14-3ubuntu1 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.4.14-3ubuntu2 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.6.3-0ubuntu1 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.6.3-0ubuntu1.1 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.6.3-0ubuntu1.3 No fix listed
ubuntu/mongodb(Ubuntu:18.04) = 1:3.6.3-0ubuntu1.4 No fix listed
ubuntu/mongodb(Ubuntu:20.04) All versions No fix listed
Show 4 more
ProductAffected versionsFixed in
ubuntu/mongodb(Ubuntu:20.04) = 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2 No fix listed
ubuntu/mongodb(Ubuntu:20.04) = 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5 No fix listed
ubuntu/mongodb(Ubuntu:20.04) = 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2 No fix listed
ubuntu/mongodb(Ubuntu:20.04) = 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3 No fix listed

References