NODE-7887ClosedFixed

OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens

h3. Use Case As a... Node Driver developer whose application supplies OIDC_HUMAN_CALLBACK and ALLOWED_HOSTS programmatically but consumes the conn string from a less-trusted source I want... the driver to enforce ALLOWED_HOSTS no matter which auth mechanism properties the conn string adds So that... the user's OIDC token is not sent to a host outside ALLOWED_HOSTS h3. User Experience * After the fix, MongoClient constructor should throw if both ENVIRONMENT and OIDC_CALLBACK OR OIDC_HUMAN

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
7.9.0
Components
Server components related to this issue
Authentication
Labels
Tags and classification
node-internalpriority