static-web-apps-cli icon indicating copy to clipboard operation
static-web-apps-cli copied to clipboard

update "update-notifier" package

Open nschmoller opened this issue 4 years ago • 2 comments

A subdependency of "[email protected]" is "[email protected]", which has a security vulnerability. Please update the "update-notifier" package to 6.0.2 to fix this vulnerability.

The security audit tool reports this:

┌─────────────────────┬───────────────────────────────────────────────────┐
│ moderate            │ Got allows a redirect to a UNIX socket            │
├─────────────────────┼───────────────────────────────────────────────────┤
│ Package             │ got                                               │
├─────────────────────┼───────────────────────────────────────────────────┤
│ Vulnerable versions │ <11.8.5                                           │
├─────────────────────┼───────────────────────────────────────────────────┤
│ Patched versions    │ >=11.8.5                                          │
├─────────────────────┼───────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-pfrx-2q88-qq97 │
└─────────────────────┴───────────────────────────────────────────────────┘

And this is the dependency tree:

dependencies:
@azure/static-web-apps-cli 1.0.3
└─┬ update-notifier 5.1.0
  └─┬ latest-version 5.1.0
    └─┬ package-json 6.5.0
      └── got 9.6.0

nschmoller avatar Nov 01 '22 19:11 nschmoller

Thanks @nschmoller for reporting this. Please feel free to raise a PR for this, we can merge it.

sgollapudi77 avatar Nov 02 '22 19:11 sgollapudi77

I can see a tag 1.0 4 here: https://github.com/Azure/static-web-apps-cli/releases/tag/v1.0.4

But 1.0.4 is not released, npm is also not up to date leaving this unsolved. https://www.npmjs.com/package/@azure/static-web-apps-cli?activeTab=versions

As the tag mentioned this issue I suspect this was not intended.

raseesink avatar Dec 19 '22 17:12 raseesink