Replace `hex-to-uuid`

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.31.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Iteration Zanzibar
    • Not Needed

      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.

            Assignee:
            Sergey Petushkov
            Reporter:
            Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: