cors-now icon indicating copy to clipboard operation
cors-now copied to clipboard

[Snyk] Security upgrade micro from 7.3.3 to 8.0.0

Open hemanth opened this issue 1 year ago • 3 comments

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
medium severity 658/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3
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.

Commit messages
Package name: micro The new version differs by 15 commits.
  • c5da182 8.0.0
  • 5e2f018 Added graphql-request example (#288)
  • c4a3afd Minimize the core (#286)
  • 098c210 Added HTTPS example (#264)
  • c7a6229 Parse `PORT` environment variable as number (#277)
  • 3b6be39 Uppercase M for Micro (#274)
  • 89b5f75 Fixed markdown header (#269)
  • 36a5540 chore(package): update nyc to version 11.0.1 (#270)
  • a3969af chore(package): update lint-staged to version 3.5.1 (#268)
  • a808c76 chore(package): update lint-staged to version 3.5.0 (#266)
  • 8824dcb fix(package): update args to version 3.0.2 (#265)
  • 9827813 chore(package): update lint-staged to version 3.4.2 (#261)
  • e281012 fix(package): update clipboardy to version 1.1.2 (#259)
  • c62fbf3 fix(package): update args to version 3.0.1 (#258)
  • 409b847 fix(package): update args to version 3.0.0 (#257)

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:

🦉 Regular Expression Denial of Service (ReDoS)

hemanth avatar Jun 24 '23 02:06 hemanth

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cors-now ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2023 2:53am

vercel[bot] avatar Jun 24 '23 02:06 vercel[bot]

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

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

Issue Package Version Note Source
Network access raw-body 2.3.0
  • Module: http-errors
  • Location: index.js
package.json via [email protected]

Next steps

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.

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 package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

socket-security[bot] avatar Jun 24 '23 02:06 socket-security[bot]

New and updated dependency changes detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives[^1] Size Publisher
micro ⬆️ 7.3.3...8.0.4 filesystem +9/-94 462 kB leo
[^1]: https://docs.socket.dev

socket-security[bot] avatar Jun 24 '23 02:06 socket-security[bot]