Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade yeoman-generator from 0.19.2 to 1.0.0 #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hemanth
Copy link
Owner

@hemanth hemanth commented Apr 19, 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 `npm` 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

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 768/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-LODASH-6139239
Yes Proof of Concept

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

Commit messages
Package name: yeoman-generator The new version differs by 134 commits.
  • 138ed98 v1.0.0
  • 871ed39 v1.0.0-rc1
  • df7012f Fix composeWith to allow passing explicit arguments for yeoman-generator@<1.0
  • 9aa4e02 Alias desc to description in argument/option config
  • 1b6eede Remove Gruntfile api - Fix #744
  • fedb2fb Update composeWith to take path or namespace as first argument - Fix #983
  • 1885dec Single way of passing both arguments and options to composed generator
  • a852f62 Allow passing arguments to a Generator constructor in the same way as we pass options
  • f6f4dda Fix issue #947 (#982)
  • e1b95d8 Refactor arguments and options parsing
  • a3cab64 Disambiguate cli options from spawn options - Fix #754
  • 687b9be Conflicter to handle null file.contents - Fix #950
  • d6345f7 Pass default options to composed generators automatically - Fix #745
  • bddb942 Fix yarnInstall to add new package - Fix #980
  • cd5e34d Simplify root exports
  • 3601531 Get rid of yeoman-environment proxying
  • 006577a Update tes matrix
  • f633dae Remove NamedBase
  • 16084c6 Remove jshintrc
  • ec9c448 Remove legacy files functions
  • 49ce5f3 Remove deprecated modules
  • f3fb1d5 Save current config to .yo-rc.json (#963)
  • 4eccb2a Add yarnInstall method
  • f632f01 Add version number to generated docs (#978)

See the full diff

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


Learn how to fix vulnerabilities with free interactive lessons:

馃 Prototype Pollution

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-LODASH-6139239
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub 鈫楋笌

Package New capabilities Transitives Size Publisher
npm/yeoman-generator@1.1.1 filesystem Transitive: environment, eval, network, shell, unsafe +168 11.7 MB sboudrias

馃毊 Removed packages: npm/yeoman-generator@0.19.2

View full report鈫楋笌

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
Install scripts npm/ejs@2.7.4
  • Install script: postinstall
  • Source: node ./postinstall.js

View full report鈫楋笌

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

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/ejs@2.7.4

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.

None yet

2 participants