Description
An unauthenticated client can trigger denial of service by issuing specially crafted wire protocol messages, which cause the message decompressor to incorrectly allocate memory. This issue affects MongoDB Server v4.2 versions prior to 4.2.1; MongoDB Server v4.0 versions prior to 4.0.13; MongoDB Server v3.6 versions prior to 3.6.15 and MongoDB Server v3.4 versions prior to 3.4.24.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | MongoDB Server | 4.2 – < 4.2.1, 4.0 – < 4.0.13, 3.6 – < 3.6.15, 3.4 – < 3.4.24 | 4.2.1 |
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | mongodb | 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3 | USN-5101-1 |
| Ubuntu 18.04 LTS | mongodb | 1:3.6.3-0ubuntu1.4 | USN-5101-1 |
Advisories 1
- USN-5101-1 mongodb vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026