Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

[Snyk] Security upgrade @actions/cache from 3.2.213 to 4.0.0#16

Open
adityamaru wants to merge 1 commit intomainfrom
snyk-fix-f7ee0e6d300f35fd2ad6f5efc249dde5
Open

[Snyk] Security upgrade @actions/cache from 3.2.213 to 4.0.0#16
adityamaru wants to merge 1 commit intomainfrom
snyk-fix-f7ee0e6d300f35fd2ad6f5efc249dde5

Conversation

@adityamaru
Copy link

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Predictable Value Range from Previous Values
SNYK-JS-FORMDATA-10841150
  863  

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Cache Version Pinning Causes Update Issues

The @actions/cache dependency has an inconsistent version specification: package.json pins it to 4.0.0, while package-lock.json uses ^4.0.0. This deviates from the project's convention of using caret ranges for other dependencies, preventing automatic patch/minor updates and potentially causing different versions to be installed across environments or with npm install vs npm ci.

package.json#L28-L29

setup-java/package.json

Lines 28 to 29 in af14dda

"dependencies": {
"@actions/cache": "4.0.0",

package-lock.json#L11-L12

"dependencies": {
"@actions/cache": "^4.0.0",

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants