[SERVER-57727] Race conditions in x509_invalid.js Created: 15/Jun/21 Updated: 29/Oct/23 Resolved: 12/Jul/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.16, 4.4.8, 5.0.2, 4.0.28, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sergey Galtsev (Inactive) | Assignee: | Sergey Galtsev (Inactive) |
| 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: |
v5.0, v4.4, v4.2, v4.0
|
||||||||
| Sprint: | Security 2021-07-12 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 49 | ||||||||
| Description |
|
In There are two more race conditions which should be addressed: 1. 'No verified subject name available from client' message from previous testClient(...) could be emitted after clearRawMongoProgramOutput(). This is likely what caused BF-21145 2. when 'No verified subject name available from client' message arrives late for assert.eq(!shouldSucceed, rawMongoProgramOutput().includes(...) check, it will be picked up for positive tests, as assert.soon() will wait for it to appear. However, it will not be picked up for negative tests, because assert.soon will see no message, happily exit, and the message will show after. We need to refactor x509_invalid.js in following way:
|
| Comments |
| Comment by Githook User [ 07/Oct/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 20/Jul/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Githook User [ 20/Jul/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Githook User [ 19/Jul/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Githook User [ 12/Jul/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Sergey Galtsev (Inactive) [ 02/Jul/21 ] |