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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2020-04-24T00:31:51

Updated: 2024-08-04T11:48:58.185Z

Reserved: 2020-04-24T00:00:00

Link: CVE-2020-12135

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-04-24T01:15:11.430

Modified: 2020-08-12T17:15:11.600

Link: CVE-2020-12135

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-04-13T00:00:00Z

Links: CVE-2020-12135 - Bugzilla