SERVER-130268ClosedFixed

Windows SSPI GSSAPI server plugin never sets haveCred after AcquireCredentialsHandle, leaking one credential handle per unauthenticated saslStart

h1. Security Context See SECBUG-1099 for problem description, security impact, preconditions, reproduction steps, and severity rationale. h1. Root Cause * src/mongo/db/modules/enterprise/src/sasl/mongo_sspi.cpp:92: SspiConnContext initialises haveCred=false. * src/mongo/db/modules/enterprise/src/sasl/mongo_sspi.cpp:97-101: the destructor calls FreeCredentialsHandle only when haveCred is true. * src/mongo/db/modules/enterprise/src/sasl/mongo_sspi.cpp:153-169: sspiServerMechNew calls Acq

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc08.3.169.0.78.0.377.0.489.1.0-rc1026
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
auto-revertedbkp