CSHARP-6162ClosedFixed

Memory-exhaustion denial of service via unbounded symbol interning during BSON/JSON deserialization

When we serialize/deserialize symbols, we use a static dictionary (`__symbolTable` in `BsonSymbolTable`), that never gets cleared or garbage collected and this could lead to fill up the memory. This is happening on both 3.x and 2.x

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
3.13.0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
aegis-ih