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

SCRAM client mechanism should preemptively validate server provided nonces

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 25

      The client side SCRAM mechanism sends a nonce to the server as a part of Client Step 1. The server takes this nonce, and appends its own random data, and returns this to the client in Server Step 1. The client should validate that its original nonce is a prefix to this nonce. Not doing so could cause an error message to be emitted in Server Step 2, rather than in Client Step 2 when the problem was first detectable. Fixing this will improve the usefulness of these messages.

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: