Skip to content

[Snyk] Security upgrade semantic-release from 19.0.2 to 22.0.0#6

Open
naiba4 wants to merge 1 commit intomasterfrom
snyk-fix-aca8db53b55a31f8279a97f83a43ed77
Open

[Snyk] Security upgrade semantic-release from 19.0.2 to 22.0.0#6
naiba4 wants to merge 1 commit intomasterfrom
snyk-fix-aca8db53b55a31f8279a97f83a43ed77

Conversation

@naiba4
Copy link
Owner

@naiba4 naiba4 commented May 20, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.

Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-SEMVER-3247795
@socket-security
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@octokit/auth-token@4.0.0 None 0 24.2 kB octokitbot
npm/@octokit/core@5.2.0 None 0 45.4 kB octokitbot
npm/@octokit/endpoint@9.0.5 None 0 91.8 kB octokitbot
npm/@octokit/graphql@7.1.0 None 0 39.7 kB octokitbot
npm/@octokit/openapi-types@20.0.0 None 0 4.52 MB octokitbot
npm/@octokit/plugin-paginate-rest@9.2.1 None 0 202 kB octokitbot
npm/@octokit/request-error@5.1.0 None 0 18.6 kB octokitbot
npm/@octokit/request@8.4.0 network 0 62.3 kB octokitbot
npm/@octokit/types@13.5.0 None +1 4.5 MB octokitbot
npm/@semantic-release/commit-analyzer@11.1.0 Transitive: eval +4 716 kB semantic-release-bot
npm/@semantic-release/github@9.2.6 network Transitive: eval +7 1.05 MB semantic-release-bot
npm/@semantic-release/npm@11.0.3 filesystem Transitive: eval +13 1.92 MB semantic-release-bot
npm/@semantic-release/release-notes-generator@12.1.0 Transitive: eval, filesystem +10 1.24 MB semantic-release-bot
npm/conventional-changelog-writer@7.0.1 filesystem +1 128 kB oss-bot
npm/conventional-commits-filter@4.0.0 None 0 7.92 kB oss-bot
npm/env-ci@10.0.0 environment 0 53.1 kB semantic-release-bot
npm/figures@6.1.0 Transitive: environment +1 40.7 kB sindresorhus
npm/find-versions@5.1.0 None 0 3.77 kB sindresorhus
npm/globby@14.0.1 Transitive: filesystem +3 45.4 kB sindresorhus
npm/hook-std@3.0.0 None 0 9.57 kB sindresorhus
npm/into-stream@7.0.0 None 0 7.19 kB sindresorhus
npm/marked-terminal@6.3.0 None 0 1.94 MB mikaelb
npm/marked@9.1.6 None 0 914 kB tonybrix
npm/mime@4.0.3 None 0 137 kB broofa
npm/normalize-url@8.0.1 None 0 25.9 kB sindresorhus
npm/npm@10.8.0 environment, filesystem, network, shell, unsafe 0 10.1 MB lukekarrys
npm/p-each-series@3.0.0 None 0 5.94 kB sindresorhus
npm/p-filter@4.1.0 None 0 8.17 kB sindresorhus
npm/p-reduce@3.0.0 None 0 5.89 kB sindresorhus
npm/semantic-release@22.0.12 environment, network Transitive: eval, filesystem +16 1.21 MB semantic-release-bot
npm/semver-diff@4.0.0 None 0 5.17 kB sindresorhus
npm/semver-regex@4.0.5 None 0 4.27 kB sindresorhus
npm/slash@5.1.0 None 0 3.25 kB sindresorhus
npm/tempy@3.1.0 None 0 12.5 kB sindresorhus
npm/url-join@5.0.0 None 0 4.74 kB jonkoops

🚮 Removed packages: npm/@colors/colors@1.5.0, npm/@cspotcode/source-map-support@0.8.1, npm/@jridgewell/resolve-uri@3.1.2, npm/@jridgewell/sourcemap-codec@1.4.15, npm/@jridgewell/trace-mapping@0.3.9, npm/@octokit/auth-token@3.0.4, npm/@octokit/core@4.2.4, npm/@octokit/endpoint@7.0.6, npm/@octokit/graphql@5.0.6, npm/@octokit/openapi-types@18.1.1, npm/@octokit/plugin-paginate-rest@6.1.2, npm/@octokit/request-error@3.0.3, npm/@octokit/request@6.2.8, npm/@octokit/types@9.3.2, npm/@semantic-release/commit-analyzer@9.0.2, npm/@semantic-release/github@8.1.0, npm/@semantic-release/npm@9.0.2, npm/@semantic-release/release-notes-generator@10.0.3, npm/@tsconfig/node10@1.0.11, npm/@tsconfig/node12@1.0.11, npm/@tsconfig/node14@1.0.3, npm/@tsconfig/node16@1.0.4, npm/@vuepress/core@1.9.10, npm/@vuepress/theme-default@1.9.10, npm/@vuepress/types@1.9.10, npm/acorn-walk@8.3.2, npm/acorn@8.11.3, npm/ansi-regex@6.0.1, npm/ansicolors@0.3.2, npm/arg@4.1.3, npm/array-union@2.1.0, npm/cardinal@2.1.1, npm/cli-table3@0.6.5, npm/cliui@7.0.4, npm/conventional-changelog-writer@5.0.1, npm/conventional-commits-filter@2.0.7, npm/create-require@1.1.1, npm/crypto-random-string@2.0.0, npm/dateformat@3.0.3, npm/del@6.1.1, npm/diff@4.0.2, npm/duplexer2@0.1.4, npm/eastasianwidth@0.2.0, npm/env-ci@5.5.0, npm/envinfo@7.13.0, npm/escalade@3.1.2, npm/figures@3.2.0, npm/find-versions@4.0.0, npm/from2@2.3.0, npm/fromentries@1.3.2, npm/get-caller-file@2.0.5, npm/globby@11.1.0, npm/hook-std@2.0.0, npm/import-from@4.0.0, npm/into-stream@6.0.0, npm/is-number@7.0.0, npm/is-path-cwd@2.2.0, npm/is-path-inside@3.0.3, npm/is-plain-object@5.0.0, npm/isarray@1.0.0, npm/json-parse-better-errors@1.0.2, npm/load-json-file@4.0.0, npm/lodash.capitalize@4.2.1, npm/lodash.escaperegexp@4.1.2, npm/lodash.ismatch@4.4.0, npm/lodash.isplainobject@4.0.6, npm/lodash.isstring@4.0.1, npm/lodash.uniqby@4.7.0, npm/make-error@1.3.6, npm/marked-terminal@5.2.0, npm/marked@4.3.0, npm/mime@3.0.0, npm/min-indent@1.0.1, npm/modify-values@1.0.1, npm/node-emoji@1.11.0, npm/node-fetch@2.7.0, npm/normalize-url@6.1.0, npm/npm@8.19.4, npm/opencollective-postinstall@2.0.3, npm/p-each-series@2.2.0, npm/p-filter@2.1.0, npm/p-is-promise@3.0.0, npm/p-reduce@2.1.0, npm/pkg-conf@2.1.0, npm/process-nextick-args@2.0.1, npm/punycode@2.3.1, npm/queue-microtask@1.2.3, npm/redeyed@2.1.1, npm/require-directory@2.1.1, npm/safe-buffer@5.1.2, npm/semantic-release@19.0.5, npm/semver-diff@3.1.1, npm/semver-regex@3.1.4, npm/shebang-regex@3.0.0, npm/slash@3.0.0, npm/spdx-correct@3.2.0, npm/spdx-exceptions@2.5.0, npm/spdx-expression-parse@3.0.1, npm/spdx-license-ids@3.0.17, npm/split@1.0.1, npm/string_decoder@1.1.1, npm/strip-bom@3.0.0, npm/supports-hyperlinks@2.3.0, npm/temp-dir@2.0.0, npm/tempy@1.0.1, npm/url-join@4.0.1, npm/util-deprecate@1.0.2, npm/v8-compile-cache-lib@3.0.1, npm/whatwg-url@5.0.0, npm/y18n@5.0.8, npm/yn@3.1.1

View full report↗︎

@socket-security
Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Unmaintained npm/is-extendable@1.0.1
  • Last Publish: 9/11/2017, 8:38:26 PM
  • orphan: npm/is-extendable@1.0.1
New author npm/is-extendable@1.0.1
  • orphan: npm/is-extendable@1.0.1
Uses eval npm/lodash-es@4.17.21
Uses eval npm/lodash-es@4.17.21
Filesystem access npm/cosmiconfig@8.3.6
New author npm/url-join@5.0.0
New author npm/get-stream@8.0.1
Filesystem access npm/conventional-changelog-writer@7.0.1
Environment variable access npm/is-unicode-supported@2.0.0
Environment variable access npm/is-unicode-supported@2.0.0
Environment variable access npm/is-unicode-supported@2.0.0
Environment variable access npm/is-unicode-supported@2.0.0
Environment variable access npm/is-unicode-supported@2.0.0
Environment variable access npm/is-unicode-supported@2.0.0
Deprecated npm/read-pkg-up@11.0.0
  • Reason: Renamed to read-package-up
Network access npm/@semantic-release/github@9.2.6
Network access npm/@semantic-release/github@9.2.6
Deprecated npm/marked-terminal@6.3.0
  • Reason: should have been major release. Use 7.0.0
Filesystem access npm/@semantic-release/npm@11.0.3
Dynamic require npm/import-from-esm@1.3.4
Filesystem access npm/npm@10.8.0
Network access npm/npm@10.8.0
Environment variable access npm/npm@10.8.0
Environment variable access npm/npm@10.8.0
Environment variable access npm/npm@10.8.0
Environment variable access npm/npm@10.8.0
Network access npm/npm@10.8.0
Network access npm/npm@10.8.0
Environment variable access npm/npm@10.8.0
Environment variable access npm/npm@10.8.0
Environment variable access npm/npm@10.8.0
Filesystem access npm/npm@10.8.0
Environment variable access npm/npm@10.8.0
Dynamic require npm/npm@10.8.0
Network access npm/npm@10.8.0
Network access npm/npm@10.8.0
Dynamic require npm/npm@10.8.0

View full report↗︎

Next steps

What are unmaintained packages?

Package has not been updated in more than 5 years and may be unmaintained. Problems with the package may go unaddressed.

Package should publish periodic maintenance releases if they are maintained, or deprecate if they have no intention in further maintenance.

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is eval?

Package uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Avoid packages that use eval, since this could potentially execute any code.

What is filesystem access?

Accesses the file system, and could potentially read sensitive data.

If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

What is environment variable access?

Package accesses environment variables, which may be a sign of credential stuffing or data theft.

Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

What is a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

What is dynamic require?

Dynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.

Packages should avoid dynamic imports when possible. Audit the use of dynamic require to ensure it is not executing malicious or vulnerable code.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/is-extendable@1.0.1
  • @SocketSecurity ignore npm/lodash-es@4.17.21
  • @SocketSecurity ignore npm/cosmiconfig@8.3.6
  • @SocketSecurity ignore npm/url-join@5.0.0
  • @SocketSecurity ignore npm/get-stream@8.0.1
  • @SocketSecurity ignore npm/conventional-changelog-writer@7.0.1
  • @SocketSecurity ignore npm/is-unicode-supported@2.0.0
  • @SocketSecurity ignore npm/read-pkg-up@11.0.0
  • @SocketSecurity ignore npm/@semantic-release/github@9.2.6
  • @SocketSecurity ignore npm/marked-terminal@6.3.0
  • @SocketSecurity ignore npm/@semantic-release/npm@11.0.3
  • @SocketSecurity ignore npm/import-from-esm@1.3.4
  • @SocketSecurity ignore npm/npm@10.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants