CVE-2020-7610
bson: Deserialization of Untrusted Data could result in Code injection or Excessive CPU load
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium).
Description
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. The package will ignore an unknown value for an object's _bsotype, leading to cases where an object is serialized as a document rather than the intended BSON type.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | bson | 1.1.4 |
| debian 10 | node-mongodb | 3.1.13+~3.1.11-2+deb10u1 |
| debian 11 | node-mongodb | 3.5.6+~cs11.12.19-1 |
| debian 12 | node-mongodb | 3.5.6+~cs11.12.19-1 |
| echo | node-mongodb | 3.5.6+~cs11.12.19-1 |