Security Finding: Update package tar-fs@2.1.3

    • Type: Vulnerability
    • Resolution: Done
    • Priority: Major - P3
    • 1.48.0
    • Affects Version/s: None
    • Component/s: None
    • 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.3 used in the repo: https://github.com/mongodb-js/compass:

      CVE Severity CVSS Fixed Version(s)
      CVE-2025-59343 High 8 tar-fs:1.16.6, tar-fs:2.1.4, tar-fs:3.1.1

      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.

      Affected Platforms: _ubuntu, _macos-arm, _rhel, _macos, _windows

      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 the Fixed Version(s) column says Unknown for a CVE, that just means the scanner that was used to find vulnerabilities doesn't have the fix version information. Please visit the link to the CVE page, to find the fix version. If you are having trouble finding the fixed version, please reach out in the #secure-sdlc-program Slack channel for help.

      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.1.0, v2.1.3, v1.16.5 and below

          1. Patches
            Has been patched in 3.1.1, 2.1.4, and 1.16.6
          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
            Reported by: Mapta / BugBunny_ai

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

            Assignee:
            Anna Henningsen
            Reporter:
            Mothra Jira Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: