CVE-2020-12135

MEDIUMCVSS 5.5/10EPSS 1.17%

Last modified

CVE-2020-12135 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 1.17% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.5/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS Probability
1.17%

63.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Whoopsie ProjectWhoopsie<= 0.2.69
MongodbC Driver< 0.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-12135?
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.
How severe is CVE-2020-12135?
CVE-2020-12135 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 1.17% probability of exploitation in the next 30 days.
How do I fix CVE-2020-12135?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-12135?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST