NULL pointer dereference when parsing server hello replies in the C Driver
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
A NULL pointer dereference and invalid memory release in the server discovery component of the MongoDB C Driver may allow an unauthenticated party that controls a server endpoint, or that can alter unencrypted network traffic, to cause a client application to terminate by sending a crafted discovery response.
NULL Pointer Dereference CWE-476
The software tries to use something that is not there and crashes.
The product dereferences a pointer that it expects to be valid but is NULL.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| MongoDB C Driver | Software | from 1.25.0, before 1.30.17; from 2.0.0, before 2.5.10 | 1.30.17; 2.5.10 |
The 8.2 severity score (high) from mongodb.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | High | The attacker can take the service down completely. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
NIST lists 1 sources for this flaw, none tagged as a vendor patch.