The MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A MongoDB endpoint that a c...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:20.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10mongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A MongoDB endpoint that a client application connects to, without needing any credentials, can return a malformed value in that field. This causes the client application process to terminate, and can also cause the driver to read memory outside an allocated buffer and to send a small amount of the application's own uninitialized heap memory back to the endpoint in a follow-up command. The impact is limited to the process that embeds the driver.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report jira.mongodb.org