posthtml-cli icon indicating copy to clipboard operation
posthtml-cli copied to clipboard

Newer versions after v0.7.7 causing npm moderate severity vulnerabilities

Open Joolyan opened this issue 2 years ago • 3 comments

Installing the latest version (0.10.0) on macOS 11.7.7 generates the following issue...

got <11.8.5 Severity: moderate Got allows a redirect to a UNIX socket - https://github.com/advisories/GHSA-pfrx-2q88-qq97 fix available via npm audit fix --force Will install [email protected], which is a breaking change node_modules/got package-json <=6.5.0 Depends on vulnerable versions of got node_modules/package-json latest-version 0.2.0 - 5.1.0 Depends on vulnerable versions of package-json node_modules/latest-version update-notifier 0.2.0 - 5.1.0 Depends on vulnerable versions of latest-version node_modules/update-notifier posthtml-cli >=0.8.0 Depends on vulnerable versions of update-notifier node_modules/posthtml-cli

Installing the latest version of got didn't resolve the vulnerabilities, but all okay using [email protected]

Any ideas as to what I've done wrong?

Joolyan avatar Jun 03 '23 08:06 Joolyan

@Joolyan what versions of nodejs and npm are you using?

Scrum avatar Sep 04 '23 07:09 Scrum

node v18.16.0 npm v9.5.1

Joolyan avatar Sep 06 '23 09:09 Joolyan

Does not affect many dependencies. Needs to be corrected after the update. If you have the time and opportunity, I will gladly accept from you PR.

Scrum avatar Sep 07 '23 06:09 Scrum