ducktors / turborepo-remote-cache

Open source implementation of the Turborepo custom remote cache server.
https://ducktors.github.io/turborepo-remote-cache/
MIT License
928 stars 88 forks source link

[Snyk] Security upgrade pino-pretty from 9.1.1 to 10.3.0 #333

Closed matteovivona closed 3 months ago

matteovivona commented 3 months ago

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](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **631/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.2 | Missing Release of Resource after Effective Lifetime
[SNYK-JS-INFLIGHT-6095116](https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: pino-pretty The new version differs by 47 commits.
  • 1e38da2 Bumped v10.3.0
  • 05e123b Update to latest help-me (#482)
  • db27875 Update Readme.md. Fix commas. (#479)
  • 6581192 Bump actions/setup-node from 3 to 4 (#476)
  • 66cb1b1 Remove `config` from README programmatic options (#475)
  • 41fdd31 v10.2.3
  • 8ee55cc Manually require and export all util scripts
  • 9fb7330 Bumped v10.2.2
  • 0a64b2a fixup
  • 602be25 Bumped v10.2.1
  • 6f30140 Disable FinalizationRegistry if NODE_V8_COVERAGE is set (#464)
  • dcb5e1b Bump actions/checkout from 3 to 4 (#461)
  • 45475e6 Bump tsd from 0.28.1 to 0.29.0 (#454)
  • b34e7c7 Refactor functions to use context object (#452)
  • 23c3628 Improve jsdoc blocks
  • f1e78b5 Fix coverage
  • 38f873a Move utils tests to sibling files
  • 0d67bfa Refactor utils into directory
  • b4a1fb6 Add basic benchmark suite (#451)
  • fa386a9 v10.2.0
  • ff7b238 Add support for messageFormat strings containing conditionals (#442)
  • 6e66abc Remove coveralls (#443)
  • 0084b84 Bumped v10.1.0
  • d195503 Add customColors to typescript definition for PrettyOptions (#440)
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](https://app.snyk.io/org/ducktors/project/988d0292-23c0-4c70-ba87-2cd50ce79320?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/ducktors/project/988d0292-23c0-4c70-ba87-2cd50ce79320?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"7f41a78e-8e1a-4f01-acad-9874ee284c24","prPublicId":"7f41a78e-8e1a-4f01-acad-9874ee284c24","dependencies":[{"name":"pino-pretty","from":"9.1.1","to":"10.3.0"}],"packageManager":"npm","projectPublicId":"988d0292-23c0-4c70-ba87-2cd50ce79320","projectUrl":"https://app.snyk.io/org/ducktors/project/988d0292-23c0-4c70-ba87-2cd50ce79320?utm_source=github&utm_medium=referral&page=fix-pr","type":"user-initiated","patch":[],"vulns":["SNYK-JS-INFLIGHT-6095116"],"upgrade":["SNYK-JS-INFLIGHT-6095116"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[631],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr)
render[bot] commented 3 months ago

Your Render PR Server URL is https://turborepo-remote-cache-pr-333.onrender.com.

Follow its progress at https://dashboard.render.com/web/srv-co1flmfsc6pc73c2e370.

socket-security[bot] commented 3 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/pino-pretty@10.3.0 environment Transitive: filesystem +26 1.44 MB matteo.collina

🚮 Removed packages: npm/pino-pretty@9.1.1

View full report↗︎

socket-security[bot] commented 3 months ago

🚨 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
Environment variable access npm/pino-pretty@10.3.0

View full report↗︎

Next steps

What is environment variable access?

Package accesses environment variables, which may be a sign of credential stuffing or data theft.

Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

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/pino-pretty@10.3.0
matteovivona commented 3 months ago

:tada: This PR is included in version 2.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: