Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5452

Replace `hex-to-uuid`

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.31.1
    • None
    • None
    • None
    • 2
    • Not Needed
    • Iteration Zanzibar

    Description

      The `hex-to-uuid` library is affected by a vulnerability that is causing security warnings for the CLOUD builds. We only use that library to format UUIDs and we can replace it with other code that doesn't have security issues.

      For reference this is how mongosh accomplish the same without using any library: https://github.com/mongodb-js/mongosh/blob/main/packages/service-provider-core/src/printable-bson.ts#L59

      Note: the reported vulnerability for `hex-to-uuid` is not actually affecting either us or CLOUD.

      Attachments

        Activity

          People

            sergey.petushkov@mongodb.com Sergey Petushkov
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: