Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39178

Negotiate SCRAM mechanism in MongoURI::connect()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.9, 4.0.9
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Security 2019-02-25, Security 2019-03-11, Security 2019-03-25
    • Case:

      Description

      MongoURI::connect() still assumes SCRAM-SHA-1 for URIs which don't have an authentication mechanism explicitly specified.

      Check isMaster.saslSupportedMechs before making assumptions.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: