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

Replace `hex-to-uuid`

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 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@mongodb.com Sergey Petushkov
            Reporter:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: