Security Finding: Update package tar-fs@2.1.2

    • Type: Vulnerability
    • Resolution: Done
    • Priority: Major - P3
    • 1.46.3
    • Affects Version/s: None
    • Component/s: None

      Priority from VULN: High
      This is a copy of the linked VULN ticket issue. You only need to update this ticket and the VULN ticket will be synced accordingly.


      Vulnerability Details

      The following vulnerabilities were found in the third party component pkg:npm/tar-fs@2.1.2 used in the repo: https://github.com/mongodb-js/compass:

      CVE Severity CVSS Fixed Version(s)
      CVE-2025-48387 High 8 tar-fs:1.16.5, tar-fs:2.1.3, tar-fs:3.0.9

      You are responsible for fixing it by and ensuring the fix is released, if required, by the relevant Due Date.

      • A new release is required if the finding is on a stable branch that customers may be using. Stable branches refer to any branch excluding main or master, for products that do not trigger releases directly from main or master branches.

      How do I fix this?
      You need to update the package to a version that does not contain the vulnerability. Please reference the Fixed Version(s) column above for options. If there are multiple CVEs, updating to the latest fixed version that addresses all CVEs is recommended.

      If you are still unable to find a fixed version or need additional assistance, please reach out in the #secure-sdlc-program channel.

      References:

      Tool Description: ### Impact
      v3.0.8, v2.1.2, v1.16.4 and below

          1. Patches
            Has been patched in 3.0.9, 2.1.3, and 1.16.5
          1. Workarounds
            You can use the ignore option to ignore non files/directories.

      ```js
      ignore (_, header)

      { // pass files & directories, ignore e.g. symlinks return header.type !== 'file' && header.type !== 'directory' }

      ```

          1. Credit
            Thank you Caleb Brown from Google Open Source Security Team for reporting this in detail.

      🔥 Please see go/vuln-flow for detailed guidance.

            Assignee:
            Paula Stachova
            Reporter:
            Mothra Jira Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: