rushstack
rushstack copied to clipboard
[rush] @microsoft/rush-lib is pulling in old dependencies, leading to an "npm audit" error
Summary
@microsoft/rush-lib is pulling in old dependencies, leading to an "npm audit" error.
Repro steps
Install the latest version of @microsoft/rush-lib.
Expected result: No npm audit issues.
Actual result: An old version of the tmp dependency is being pulled in.
Details
┌───────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Issue │ tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Severity │ low │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependency │ tmp │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Version │ 0.0.33 │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Full path │ packages > rush-artifactory-cache-plugin > @microsoft/rush-lib > inquirer > external-editor > tmp │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable in │ <=0.2.3 │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.2.4 │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Suggested fix │ Upgrade to version 0.2.4 or later │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-52f5-9888-hmc6 │
└───────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────┘
Standard questions
Please answer these questions to help us investigate your issue more quickly:
| Question | Answer |
|---|---|
@microsoft/rush globally installed version? |
5.157.0 |
rushVersion from rush.json? |
5.157.0 |
| Operating system? | Linux, Windows 11 |
| Would you consider contributing a PR? | No |
Node.js version (node -v)? |
22.14.0 |
@iclanton @dmichon-msft This can be closed.