Tag

C Driver

All articles tagged with #c driver

technology4 days ago

MongoDB patches C# driver to prevent credential leaks in connection string errors

MongoDB has released version 3.14.1 of its C# driver to fix a security vulnerability that allowed sensitive connection string values to be exposed in error messages. The update ensures that sensitive URI components are omitted until the connection string is successfully parsed, preventing accidental disclosure of credentials during validation failures.

technology4 days ago

MongoDB C# Driver Patches NUL-Byte Injection Flaw in SASL Authentication

MongoDB has resolved a security vulnerability in its C# driver that allowed attackers to smuggle authentication identities using NUL-byte injection in SASL PLAIN payloads. The fix, included in version 3.14.1, updates credential validation to forbid NUL characters in usernames and passwords. This addresses a gap in previous mitigations and aligns with broader driver updates to enhance authentication security.

technology20 days ago

MongoDB Fixes Bit-Length Overflow in C Driver

MongoDB has released version 2.5.8 of its C driver to address a minor security bug involving bit-length overflow in packed-bit vector views. The fix, developed by Kevin Albertson and Adrian Dole, was merged into the master branch on November 3, 2026, resolving an issue tracked as CDRIVER-6420. This update closes a vulnerability that had been open since August 2026, ensuring safer handling of vector data structures within the database software.

technology20 days ago

MongoDB Fixes Memory Leak in C Driver OP_COMPRESSED Parsing

MongoDB has resolved a major security bug in its C driver that allowed memory leaks when parsing compressed replies. The fix, developed by Kevin Albertson, ensures that output parameters are reset to null or zero upon decompression failure, preventing resource exhaustion. The patch was released in versions 1.30.15 and 2.5.8, with commits merged into the master, r1.30, and r2.5 branches on November 3, 2026.

technology1 month ago

MongoDB patches silent encryption bypass in C# driver

MongoDB has released version 3.13.0 to fix a critical security flaw in its C# driver that allowed attackers to bypass client-side field-level encryption. The vulnerability, tracked as CSHARP-6174, stemmed from unescaped field-name regular expressions in the schema builder, enabling silent data exposure. The issue affected all driver versions from 3.5.0 up to, but not including, 3.13.0. The fix removes the problematic pattern property builder overloads to prevent exploitation.

technology1 month ago

MongoDB C# Driver Fixes Critical Update Injection Flaw in Single-Element Lists

MongoDB has resolved a major security vulnerability in its C# driver that allowed unintended data deletion and injection via single-element list operations. The fix, included in version 3.13.0, corrects how the driver encodes update commands when only one item is provided, preventing the server from misinterpreting data as command modifiers. This update addresses issues affecting versions 2.0.0 through 3.12.9, where specific list lengths triggered incorrect wire encoding, potentially leading to silent data loss or unauthorized modifications.

technology1 month ago

MongoDB C# Driver Patch Fixes Critical Data Leak in BSON Parsing

A high-severity vulnerability in the MongoDB C# driver, identified as CSHARP-6170, has been resolved in version 3.13.0. The flaw allowed attackers to extract up to 16 KB of residual data from other users by sending malformed BSON arrays that exploited un-cleared thread buffers. The issue, which could also cause application crashes, was fixed in October 2026 after being reported in August.

security1 month ago

MongoDB C# Driver Flaw Silently Sends Encrypted Data as Plaintext on Windows

A critical vulnerability in the MongoDB C# driver, identified as CSHARP-6180, causes client-side encrypted fields to be transmitted in plaintext on Windows systems when non-ASCII database names are used. The flaw, fixed in version 3.13.0, stems from a lossy ANSI code-page conversion that corrupts the database name, causing encryption schema lookups to fail silently. This exposes sensitive data, including PII and PHI, to server operators and potential breaches, affecting all versions prior to 3.13.0.

security1 month ago

MongoDB C# Driver Patch Fixes Critical Auth Bypass in Shared Cluster Cache

MongoDB resolved a high-severity vulnerability in its C# driver that allowed attackers to bypass client certificate authentication by exploiting weak equality checks in the shared cluster cache. The flaw, fixed in version 3.13.0, enabled a malicious client to hijack another user's authenticated connection by matching only public certificate metadata, specifically the issuer and serial number, while ignoring the private key. This issue affected applications using the .NET driver where multiple clients shared a process-wide cluster registry, potentially allowing unauthorized database reads and writes under a victim's identity. The fix ensures that certificate comparisons now include private key validation, preventing credential-distinct clients from merging into a single authenticated pool.

security1 month ago

MongoDB C# Driver Patch Fixes Critical LINQ Query Redirection Vulnerability

MongoDB has released version 3.13.0 to fix a high-severity vulnerability in its C# driver that allowed attackers to redirect database queries and updates to unintended fields. The flaw, tracked as CSHARP-6181, stemmed from unvalidated user input being spliced into LINQ filter field paths, enabling boolean-oracle probing and logic bypasses without triggering errors. The issue affected versions 2.14.0 and was resolved in the latest update, closing a gap where the aggregation side had safeguards but the filter side did not.