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

Prevent accessing OCSP manager ptr during shutdown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 6.0.15, 5.0.27, 7.0.9, 7.3.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • v7.3, v7.2, v7.0, v6.0, v5.0
    • Security 2024-03-04, Security 2024-03-18
    • 117

      We are hitting a data race when the periodic OCSPFetcher is called and the server enters shutdown. 

      This happens if we try to get the OSCP manager inside retrieveOCSPResponse and the servers calls OCSPManager::shutdown. One thread tries to access the pointer while the other one tries to delete it.

            Assignee:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Reporter:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: