MongoDB C# Driver
Authentication bypass via issuer-and-serial-only certificate equality in shared cluster cache
The MongoDB C# Driver compares TLS client certificates by issuer and serial number only when deciding whether two clients can share cached connections. In an application that creates clients from certificates supplied by different users, a user who provides a certificate copying another user's issuer and serial number, without that user's private key, can be given connections authenticated with the other user's certificate. Database operations can then run under the other user's identity, affecting the confidentiality and integrity of data that identity can access.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.8.0, < 3.13.0
Fixed in 3.13.0
Mitigation
Upgrade C# Driver to 3.13.0 or later.
References
- Release notes github.com/mongodb/mongo-csharp-driver/release…
- Vendor advisory github.com/mongodb/mongo-csharp-driver/securit…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.