MongoDB.Bson is vulnerable to Allocation of Resources Without Limits or Throttling
82
CVE Score
High
Allocation of Resources Without Limits or Throttling
BsonSymbolSerializer.DeserializeValue passes each symbol name read during BSON or JSON deserialization to BsonSymbolTable.Lookup, which stores every distinct name in a static dictionary that is never cleared. Untrusted input supplies the names, so unbounded distinct symbols keep growing process memory until the host application is exhausted and service is denied. No check limits how many symbols are retained. The fix removes the static table so Lookup and the serializer return plain BsonSymbol values that garbage collection can reclaim.
Upgrade the MongoDB.Bson package to version 3.13.0 or later.
You are affected if you are using a version that falls within the vulnerable range and deserialize BSON or JSON content that contains symbol values.
2.0.0 - 3.12.0
Fixed in 3.13.0MongoDB.Bson is vulnerable to Allocation of Resources Without Limits or Throttling in versions 2.0.0 - 3.12.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.