Skip to content

[Snyk] Security upgrade lodash from 4.17.23 to 4.18.1#23

Open
lane-formio wants to merge 1 commit intomasterfrom
snyk-fix-5a8cc012f6b7be07504084379022ca9c
Open

[Snyk] Security upgrade lodash from 4.17.23 to 4.18.1#23
lane-formio wants to merge 1 commit intomasterfrom
snyk-fix-5a8cc012f6b7be07504084379022ca9c

Conversation

@lane-formio
Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • yarn.lock

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.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Arbitrary Code Injection
SNYK-JS-LODASH-15869625
  716  
medium severity Prototype Pollution
SNYK-JS-LODASH-15869619
  631  

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Prototype Pollution
🦉 Arbitrary Code Injection

@lane-formio
Copy link
Copy Markdown
Contributor Author

Merge Risk: Medium

This minor version upgrade for lodash introduces security fixes that alter existing behavior, warranting a medium risk assessment.

Key Changes:

  • _.unset / _.omit: To fix a prototype pollution vulnerability, calls attempting to traverse forbidden paths (like constructor or prototype) will now return false and not delete the property. Previously, these calls might have returned true. Code that relies on the return value of these functions for flow control may be impacted.
  • _.template: To fix a code injection vulnerability, the function will now throw an "Invalid imports option" error if the imports keys contain forbidden characters. Previously, this might have been ignored.

Recommendation: While these are important security updates, the changes introduce stricter validation and modified return values. It is recommended to verify that your application's usage of _.unset, _.omit, and _.template is not affected by this stricter behavior.

Source: GitHub Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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