What’s Vulnerable › Vulnerabilities

CVE-2020-12135

Description

bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.

Affected products

How to fix

Upgrade to a fixed version: MongoDB C# Driver 0.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-12135 or the next vulnerability affects your stack