BSON Corruption Affecting bson package, versions [0.3.5,0.4.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-BSON-40575
  • published21 Sept 2015
  • disclosed21 Sept 2015
  • creditUnknown

Introduced: 21 Sep 2015

CVE NOT AVAILABLE CWE-158  (opens in a new tab)

Overview

bson is a BSON codec for Python.

Affected versions of this package are vulnerable to BSON Corruption. A malicious user can insert a null byte into a cstring when encoding, which can terminate the string early. This can lead to BSON document corruption, and depending on how the application uses bson, potentially lead to buffer overflow.

CVSS Base Scores

version 3.1