Skip to main content
← All vulnerabilities
CVE-2020-12135

bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values.

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

References 4

bugs.launchpad.net

launchpadlibrarian.net

GitHub · 10gen-archive/mongo-c-driver-legacy

usn.ubuntu.com