Skip to content

[Snyk] Security upgrade lodash from 4.17.21 to 4.18.1#14

Open
snykbotzup wants to merge 1 commit intomainfrom
snyk-fix-c4e7ce9877167ad00df9299c97795a04
Open

[Snyk] Security upgrade lodash from 4.17.21 to 4.18.1#14
snykbotzup wants to merge 1 commit intomainfrom
snyk-fix-c4e7ce9877167ad00df9299c97795a04

Conversation

@snykbotzup
Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.

Snyk changed the following file(s):

  • packages/edp-simulation/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Arbitrary Code Injection
SNYK-JS-LODASH-15869625
  183  

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:

🦉 Arbitrary Code Injection

@snykbotzup snykbotzup self-assigned this Apr 2, 2026
@snykbotzup
Copy link
Copy Markdown
Author

Merge Risk: Medium

This minor upgrade of lodash introduces security fixes that alter the behavior of several functions, which could impact existing code.

Key Changes:

  • _.unset / _.omit: A fix for a prototype pollution vulnerability (GHSA-f23m-r3pf-42rh) changes the return value. Calls that attempt to traverse constructor or prototype will now return false and not delete the property, whereas they might have returned true previously.
  • _.template: A fix for a code injection vulnerability (GHSA-r5fr-rjxr-66jc) adds stricter validation. An error will now be thrown if the imports option contains invalid characters.

Risk Assessment:
These changes, while important for security, are behavioral modifications. Applications that rely on the previous (and unsafe) behavior of these functions may require verification to ensure they operate as expected.

Recommendation: Review and test any usage of _.unset, _.omit, and _.template to ensure compatibility with the new, more secure behavior.

Source: GitHub Releases

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

@snykbotzup
Copy link
Copy Markdown
Author

snykbotzup commented Apr 2, 2026

Snyk checks have failed. 5 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (5)
Open Source Security 0 5 0 0 5 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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