CVE-2020-12135

NameCVE-2020-12135
Descriptionbson 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs958998

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
duo-unix (PTS)jessie1.9.11-1vulnerable
stretch1.9.19-1vulnerable
buster1.9.21-1.1vulnerable
bullseye, bookworm1.11.3-1vulnerable
sid, trixie1.11.3-1.2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
duo-unixsource(unstable)(unfixed)unimportant958998

Notes

Embedded older version, but affected function not used

Search for package or bug name: Reporting problems