[SERVER-47188] Command saslStart returns empty `errmsg` in response when unknown mechanism requested Created: 30/Mar/20 Updated: 29/Oct/23 Resolved: 31/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.4.0 |
| Fix Version/s: | 4.4.0-rc1, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sara Golemon | Assignee: | Sara Golemon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||
| Sprint: | Security 2020-04-06 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
admin.runCommand({saslStart: 1, mechanism: 'unknown-mech', payload: '...'}); Response on 4.4+ { ok: 0.0, errmsg: ''} Response on 4.2- {"ok": {"$numberDouble":"0.0"},"errmsg": "Unsupported mechanism 'unknown-mech' on authentication database 'admin'","code": {"$numberInt":"2"},"codeName": "BadValue"} |
| Comments |
| Comment by Githook User [ 31/Mar/20 ] |
|
Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}Message: (cherry picked from commit fa4a240d42c56c60b1af0ec7f69f5fc8dca28902) |
| Comment by Githook User [ 31/Mar/20 ] |
|
Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}Message: |