Resolves npm audit high-severity vulnerabilities#2039
Open
AlexaXs wants to merge 2 commits intonodegit:masterfrom
Open
Resolves npm audit high-severity vulnerabilities#2039AlexaXs wants to merge 2 commits intonodegit:masterfrom
AlexaXs wants to merge 2 commits intonodegit:masterfrom
Conversation
Non-breaking semver-compatible updates via npm audit fix: - tar 7.4.3 to 7.5.10 (High: path traversal, symlink poisoning, hardlink attacks) - lodash 4.17.21 to 4.17.23 (Moderate: prototype pollution in _.unset/_.omit) - js-yaml 3.14.1 to 3.14.2, 4.1.0 to 4.1.1 (Moderate: prototype pollution in merge) - glob 10.4.5 to 10.5.0 (High: command injection via --cmd) - brace-expansion 1.1.11 to 1.1.12, 2.0.1 to 2.0.2 (Low: ReDoS) - minimatch 3.1.2 to 3.1.5, 9.0.5 to 9.0.9, 5.1.6 to 9.0.9 (High: ReDoS) - mocha 11.4.0 to 11.7.5 (within ^11.4.0) - jshint 2.13.4 to 2.13.6 (within ^2.10.0) All updates stay within declared semver ranges. Only package-lock.json changed. Resolves 5 of 11 reported npm audit vulnerabilities.
…ties Adds overrides in package.json for transitive dependencies that cannot be updated within their parent packages declared semver ranges: - mocha > diff: ^7.0.0 overridden to ^8.0.3 Fixes DoS in parsePatch/applyPatch (GHSA-73rr-hh4g-fpgx) - mocha > serialize-javascript: ^6.0.2 overridden to ^7.0.4 Fixes RCE via RegExp.flags and Date.prototype.toISOString (GHSA-5c6j-r48x-rmvq) - jshint > minimatch: ~3.0.2 overridden to 3.1.5 Fixes multiple ReDoS vulnerabilities (GHSA-3ppc-4f35-3m26, GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74) Remaining: aws-sdk v2 low-severity advisory (GHSA-j965-2qgj-vjmq) affects all of v2, requires migration to v3 which is out of scope. Lint (jshint) verified passing after minimatch override.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates dependencies and introduces
npm overridesto address known security vulnerabilities.npm overridesformocha'sdiffandserialize-javascript, andjshint'sminimatchto resolve specific high-severity security issues that could not be resolved by direct updates.aws-sdk,brace-expansion,glob,lodash,minizlib,workerpool, andtar.iconv-lite,randombytes,safer-buffer, andmkdirp.