Skip to content

v2.11.14

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 12:19
· 14 commits to main since this release
v2.11.14
ed5d5d0

Security

Fixes GHSA-c8vv-4wxp-67cc (CVSS 4.0: 5.9, medium), reported by @Char0n1507. Versions 2.7.0 to 2.11.13 ran npm audit in the audited project's directory, so the project's .npmrc could name its own registry and have npm send the auditor's environment variables to it as an auth token.

  • scanners/javascript.sh and scanners/nodejs.sh run npm audit on a copy of package.json, package-lock.json and npm-shrinkwrap.json in an empty temporary directory, with --prefix set to that copy and --globalconfig set to the user's global npmrc. npm reads neither the project's .npmrc nor a project or workspace root planted above the temporary directory (#191).
  • The npm check reads metadata.vulnerabilities.total. Before, every successful run was reported as "Vulnerable dependencies found" and a failed run as "No known vulnerable dependencies"; a run that could not check is now an error (#191).

Other changes

  • The rm hook reports a recursive delete only for a recursive rm call (#190).
  • logging.md: fingers_crossed drops downgraded security events (#189).

What's Changed

Full Changelog: v2.11.13...v2.11.14