CVE-2020-7610

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data

published March 30, 2020

CVSS
—
EPSS
2%
Percentile
82.9
In the wild
Unconfirmed
What it is

⚠️ A misconfigured data serialization can lead to chaos! The bson library versions before 1.1.4 mishandle unknown values for _bsotype, creating room for unexpected behaviors. 🔥 Think of it like a restaurant that serves a dish with the wrong ingredient — instead of a gourmet meal, you end up with a surprise combo that no one ordered. This miscommunication can lead to data being interpreted incorrectly, just as a confused chef might misinterpret an order! If exploited, this vulnerability could allow an attacker to manipulate data structures being processed, potentially leading to application errors or unexpected behaviors. It’s like a chef accidentally serving a dish in a completely wrong style, throwing the kitchen into disarray!

Put simply

Think of it like a restaurant that serves a dish with the wrong ingredient — instead of a gourmet meal, you end up with a surprise combo that no one ordered. This miscommunication can lead to data being interpreted incorrectly, just as a confused chef might misinterpret an order! This vulnerability in bson affects all versions before 1.1.4, where the library ignores unknown values for the _bsotype field, leading to untrusted data deserialization that strays from the intended BSON type.

What to do

If exploited, this vulnerability could allow an attacker to manipulate data structures being processed, potentially leading to application errors or unexpected behaviors. It’s like a chef accidentally serving a dish in a completely wrong style, throwing the kitchen into disarray! To mitigate this risk, update to bson version 1.1.4 or later immediately. Ensure that all object types being serialized are properly validated against expected schemas to prevent any unintended consequences. 🛡️ You've got this! A quick update and you'll keep your application running smoothly and securely! ✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02265 · 82.9th percentile
Published
2020-03-30T18:28Z
EPSS history
Timeline
  • 30 MAR 18:28Z
    All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data
    cvelistv5