bson before 0.8 incorrectly uses int rather than size_t for...
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2020-12135
Credits & Attribution
No credits recorded in the NVD database.
References
- https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560
- https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch
- https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577
- https://usn.ubuntu.com/4450-1/
Affected Vendor
whoopsie project
View all reports →Affected Software
Timeline
CVSS Vectors
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.