Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @tensorflow/tfjs-node from 3.14.0 to 4.21.0 #601

Closed

Conversation

aravindvnair99
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @tensorflow/tfjs-node from 3.14.0 to 4.21.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 40 versions ahead of your current version.

  • The recommended version was released on a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ANSIREGEX-1583908
482 Proof of Concept
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
482 Proof of Concept
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
482 Proof of Concept
Release notes
Package name: @tensorflow/tfjs-node
  • 4.21.0 - 2024-09-03

    Core (4.20.0 ==> 4.21.0)

    Misc

    • Update monorepo to 4.21.0. (#8371). Thanks, @ dbcp1.
    • Update supported TypedArray data types in tf.tensor in the documentation (#8287). Thanks, @ gaikwadrahul8.

    Data (4.20.0 ==> 4.21.0)

    Misc

    Layers (4.20.0 ==> 4.21.0)

    Features

    Misc

    • Update monorepo to 4.21.0. (#8371). Thanks, @ dbcp1.
    • Fix iOS nightly device deprecated by updating device (#8348).

    Converter (4.20.0 ==> 4.21.0)

    Bug fixes

    • Quote props of DataType enum to prevent name mangling (#8361).

    Misc

    • Update lockfiles branch tfjs_4.21.0_lockfiles lock files. (#8372). Thanks, @ dbcp1.
    • Update monorepo to 4.21.0. (#8371). Thanks, @ dbcp1.
    • Update broken link for tf.keras SavedModel in README.md (#8313). Thanks, @ gaikwadrahul8.

    Node (4.20.0 ==> 4.21.0)

    Misc

    • Update lockfiles branch tfjs_4.21.0_lockfiles lock files. (#8372). Thanks, @ dbcp1.
    • Update monorepo to 4.21.0. (#8371). Thanks, @ dbcp1.

    Wasm (4.20.0 ==> 4.21.0)

    Misc

    • Update lockfiles branch tfjs_4.21.0_lockfiles lock files. (#8372). Thanks, @ dbcp1.
    • Update monorepo to 4.21.0. (#8371). Thanks, @ dbcp1.

    Cpu (4.20.0 ==> 4.21.0)

    Misc

    Webgl (4.20.0 ==> 4.21.0)

    Misc

    • Update lockfiles branch tfjs_4.21.0_lockfiles lock files. (#8372). Thanks, @ dbcp1.
    • Update monorepo to 4.21.0. (#8371). Thanks, @ dbcp1.

    WebGPU (4.20.0 ==> 4.21.0)

    Misc

    • Update lockfiles branch tfjs_4.21.0_lockfiles lock files. (#8372). Thanks, @ dbcp1.
    • Update monorepo to 4.21.0. (#8371). Thanks, @ dbcp1.
  • 4.21.0-rc.0 - 2024-08-26
    • Update lockfiles branch tfjs_4.21.0-rc.0_lockfiles lock files.

    • Update verdaccio.yaml

  • 4.20.0 - 2024-06-03

    Core (4.19.0 ==> 4.20.0)

    Misc

    Data (4.19.0 ==> 4.20.0)

    Misc

    Layers (4.19.0 ==> 4.20.0)

    Misc

    Converter (4.19.0 ==> 4.20.0)

    Misc

    • Update lockfiles branch tfjs_4.20.0_lockfiles lock files. (#8296). Thanks, @ dbcp1.
    • Update monorepo to 4.20.0. (#8294). Thanks, @ dbcp1.

    Node (4.19.0 ==> 4.20.0)

    Misc

    • Update lockfiles branch tfjs_4.20.0_lockfiles lock files. (#8296). Thanks, @ dbcp1.
    • Update monorepo to 4.20.0. (#8294). Thanks, @ dbcp1.
    • Update tar package version for tfjs-node & tfjs-node-gpu (#8280). Thanks, @ gaikwadrahul8.

    Wasm (4.19.0 ==> 4.20.0)

    Misc

    • Update lockfiles branch tfjs_4.20.0_lockfiles lock files. (#8296). Thanks, @ dbcp1.
    • Update monorepo to 4.20.0. (#8294). Thanks, @ dbcp1.

    Cpu (4.19.0 ==> 4.20.0)

    Misc

    Webgl (4.19.0 ==> 4.20.0)

    Misc

    • Update lockfiles branch tfjs_4.20.0_lockfiles lock files. (#8296). Thanks, @ dbcp1.
    • Update monorepo to 4.20.0. (#8294). Thanks, @ dbcp1.

    WebGPU (4.19.0 ==> 4.20.0)

    Misc

    • Update lockfiles branch tfjs_4.20.0_lockfiles lock files. (#8296). Thanks, @ dbcp1.
    • Update monorepo to 4.20.0. (#8294). Thanks, @ dbcp1.
  • 4.20.0-rc.0 - 2024-05-28
    • Update lockfiles branch tfjs_4.20.0-rc.0_lockfiles lock files.

    • Update verdaccio.yaml

  • 4.19.0 - 2024-04-30

    Core (4.18.0 ==> 4.19.0)

    Misc

    Data (4.18.0 ==> 4.19.0)

    Misc

    Layers (4.18.0 ==> 4.19.0)

    Features

    • Add support for GELU and approximate activation functions (#8224). Thanks, @ Vectorrent.

    Bug fixes

    Misc

    Converter (4.18.0 ==> 4.19.0)

    Misc

    • Update lockfiles branch tfjs_4.19.0_lockfiles lock files. (#8264). Thanks, @ dbcp1.
    • Update monorepo to 4.19.0. (#8263). Thanks, @ dbcp1.

    Node (4.18.0 ==> 4.19.0)

    Misc

    • Update lockfiles branch tfjs_4.19.0_lockfiles lock files. (#8264). Thanks, @ dbcp1.
    • Update monorepo to 4.19.0. (#8263). Thanks, @ dbcp1.
    • Update installation steps for Windows / Mac OS X for tfjs-node in README.md (#8101). Thanks, @ gaikwadrahul8.

    Wasm (4.18.0 ==> 4.19.0)

    Misc

    Cpu (4.18.0 ==> 4.19.0)

    Misc

    Webgl (4.18.0 ==> 4.19.0)

    Misc

    • Update lockfiles branch tfjs_4.19.0_lockfiles lock files. (#8264). Thanks, @ dbcp1.
    • Update monorepo to 4.19.0. (#8263). Thanks, @ dbcp1.

    WebGPU (4.18.0 ==> 4.19.0)

    Misc

    • Update lockfiles branch tfjs_4.19.0_lockfiles lock files. (#8264). Thanks, @ dbcp1.
    • Update monorepo to 4.19.0. (#8263). Thanks, @ dbcp1.
    • Export WebGPUProgram as type to fix g3 isolatedModules issue (#8252).
  • 4.19.0-rc.0 - 2024-04-24
    • Update lockfiles branch tfjs_4.19.0-rc.0_lockfiles lock files.

    • Update verdaccio.yaml

  • 4.18.0 - 2024-04-17

    Core (4.17.0 ==> 4.18.0)

    Misc

    Data (4.17.0 ==> 4.18.0)

    Misc

    Layers (4.17.0 ==> 4.18.0)

    Misc

    Converter (4.17.0 ==> 4.18.0)

    Misc

    • Update lockfiles branch tfjs_4.18.0_lockfiles lock files. (#8251). Thanks, @ dbcp1.
    • Update monorepo to 4.18.0. (#8250). Thanks, @ dbcp1.
    • nightly test fix (#8214).
    • Fixed typos in documentation string. (#7782). Thanks, @ shmishra99.

    Node (4.17.0 ==> 4.18.0)

    Misc

    • Update lockfiles branch tfjs_4.18.0_lockfiles lock files. (#8251). Thanks, @ dbcp1.
    • Update monorepo to 4.18.0. (#8250). Thanks, @ dbcp1.

    Wasm (4.17.0 ==> 4.18.0)

    Misc

    • Update lockfiles branch tfjs_4.18.0_lockfiles lock files. (#8251). Thanks, @ dbcp1.
    • Update monorepo to 4.18.0. (#8250). Thanks, @ dbcp1.

    Cpu (4.17.0 ==> 4.18.0)

    Misc

    Webgl (4.17.0 ==> 4.18.0)

    Misc

    • Update lockfiles branch tfjs_4.18.0_lockfiles lock files. (#8251). Thanks, @ dbcp1.
    • Update monorepo to 4.18.0. (#8250). Thanks, @ dbcp1.

    WebGPU (4.17.0 ==> 4.18.0)

    Misc

    • Update lockfiles branch tfjs_4.18.0_lockfiles lock files. (#8251). Thanks, @ dbcp1.
    • Update monorepo to 4.18.0. (#8250). Thanks, @ dbcp1.
  • 4.18.0-rc.0 - 2024-04-11
    • Update lockfiles branch tfjs_4.18.0-rc.0_lockfiles lock files.

    • Update verdaccio.yaml

  • 4.17.0 - 2024-01-30

    Core (4.16.0 ==> 4.17.0)

    Misc

    Data (4.16.0 ==> 4.17.0)

    Misc

    Layers (4.16.0 ==> 4.17.0)

    Misc

    Converter (4.16.0 ==> 4.17.0)

    Misc

    • Update lockfiles branch tfjs_4.17.0_lockfiles lock files. (#8162). Thanks, @ dbcp1.
    • Update monorepo to 4.17.0. (#8161). Thanks, @ dbcp1.
    • merge g3 cl (#8138).

    Node (4.16.0 ==> 4.17.0)

    Misc

    • Update lockfiles branch tfjs_4.17.0_lockfiles lock files. (#8162). Thanks, @ dbcp1.
    • Update monorepo to 4.17.0. (#8161). Thanks, @ dbcp1.
    • Fix for windows installation #7341 (#8122). Thanks, @ vicmmg.
    • Update broken link for MacOS Catalina guide in README.md (#8032). Thanks, @ gaikwadrahul8.

    Wasm (4.16.0 ==> 4.17.0)

    Misc

    • Update lockfiles branch tfjs_4.17.0_lockfiles lock files. (#8162). Thanks, @ dbcp1.
    • Update monorepo to 4.17.0. (#8161). Thanks, @ dbcp1.

    Cpu (4.16.0 ==> 4.17.0)

    Misc

    Webgl (4.16.0 ==> 4.17.0)

    Misc

    • Update lockfiles branch tfjs_4.17.0_lockfiles lock files. (#8162). Thanks, @ dbcp1.
    • Update monorepo to 4.17.0. (#8161). Thanks, @ dbcp1.

    WebGPU (4.16.0 ==> 4.17.0)

    Misc

    • Update lockfiles branch tfjs_4.17.0_lockfiles lock files. (#8162). Thanks, @ dbcp1.
    • Update monorepo to 4.17.0. (#8161). Thanks, @ dbcp1.
  • 4.17.0-rc.0 - 2024-01-23
    • Update lockfiles branch tfjs_4.17.0-rc.0_lockfiles lock files.

    • Update verdaccio.yaml

  • 4.16.0 - 2024-01-11
  • 4.16.0-rc.0 - 2024-01-09
  • 4.15.0 - 2023-12-12
  • 4.15.0-rc.0 - 2023-12-05
  • 4.14.0 - 2023-11-30
  • 4.14.0-rc.0 - 2023-11-18
  • 4.13.0 - 2023-11-08
  • 4.13.0-rc.0 - 2023-10-30
  • 4.12.0 - 2023-10-18
  • 4.12.0-rc.0 - 2023-10-11
  • 4.11.0 - 2023-09-13
  • 4.10.0 - 2023-08-01
  • 4.9.0 - 2023-07-18
  • 4.8.0 - 2023-06-20
  • 4.7.0 - 2023-06-06
  • 4.6.0 - 2023-05-17
  • 4.5.0 - 2023-05-05
  • 4.4.0 - 2023-04-06
  • 4.3.0 - 2023-03-17
  • 4.2.0 - 2023-01-03
  • 4.1.0 - 2022-11-20
  • 4.0.0 - 2022-10-13
  • 3.21.1 - 2022-10-06
  • 3.21.0 - 2022-10-06
  • 3.20.0 - 2022-08-23
  • 3.19.0 - 2022-07-22
  • 3.18.0 - 2022-05-21
  • 3.17.0 - 2022-05-12
  • 3.16.0 - 2022-04-19
  • 3.15.0 - 2022-03-22
  • 3.14.0 - 2022-03-03
from @tensorflow/tfjs-node GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@tensorflow/tfjs-node","from":"3.14.0","to":"4.21.0"}],"env":"prod","hasFixes":true,"isBreakingChange":true,"isMajorUpgrade":true,"issuesToFix":[{"exploit_maturity":"proof-of-concept","id":"SNYK-JS-ANSIREGEX-1583908","issue_id":"SNYK-JS-ANSIREGEX-1583908","priority_score":482,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"proof-of-concept","id":"SNYK-JS-TAR-6476909","issue_id":"SNYK-JS-TAR-6476909","priority_score":646,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.5","score":325},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Uncontrolled Resource Consumption ('Resource Exhaustion')"},{"exploit_maturity":"proof-of-concept","id":"SNYK-JS-TAR-6476909","issue_id":"SNYK-JS-TAR-6476909","priority_score":432,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"cvssScore","label":"6.5","score":325},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Uncontrolled Resource Consumption ('Resource Exhaustion')"}],"prId":"e489d465-e3f0-4653-a2b1-d8e9d9099e30","prPublicId":"e489d465-e3f0-4653-a2b1-d8e9d9099e30","packageManager":"npm","priorityScoreList":[482,646],"projectPublicId":"3e229b24-b2de-4c21-9d58-eebf425f44fc","projectUrl":"https://app.snyk.io/org/aravindvnair99-github-marketplace/project/3e229b24-b2de-4c21-9d58-eebf425f44fc?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["priorityScore"],"type":"auto","upgrade":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-TAR-6476909","SNYK-JS-TAR-6476909"],"upgradeInfo":{"versionsDiff":40,"publishedDate":"2024-09-03T22:45:52.442Z"},"vulns":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-TAR-6476909","SNYK-JS-TAR-6476909"]}'

Snyk has created this PR to upgrade @tensorflow/tfjs-node from 3.14.0 to 4.21.0.

See this package in npm:
@tensorflow/tfjs-node

See this project in Snyk:
https://app.snyk.io/org/aravindvnair99-github-marketplace/project/3e229b24-b2de-4c21-9d58-eebf425f44fc?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

guardrails bot commented Sep 30, 2024

⚠️ We detected 8 security issues in this pull request:

Insecure File Management (1)
Severity Details Docs
High Title: Path Traversal from user input
path.join(os.tmpdir(), path.basename(req.files.file[0].fieldname)),
📚

More info on how to fix Insecure File Management in JavaScript.


Insecure Use of Crypto (1)
Severity Details Docs
Medium Title: Insecure use of random generator
result += characters.charAt(Math.floor(Math.random() * charactersLength));
📚

More info on how to fix Insecure Use of Crypto in JavaScript.


Vulnerable Libraries (6)
Severity Details
Critical pkg:npm/[email protected] upgrade to: > 11.3.0
High pkg:npm/[email protected] upgrade to: > 4.2.1
Medium pkg:npm/[email protected] upgrade to: 1.6.0
High pkg:npm/[email protected] upgrade to: > 0.3.1
N/A pkg:npm/[email protected] upgrade to: 3.1.10
Medium pkg:npm/@tensorflow/[email protected] upgrade to: > 4.21.0

More info on how to fix Vulnerable Libraries in JavaScript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Copy link

sonarcloud bot commented Sep 30, 2024

Copy link

stale bot commented Oct 17, 2024

Automatically marked as stale due to lack of recent activity. Will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 17, 2024
Copy link

stale bot commented Oct 30, 2024

Automatically closed due to lack of recent activity. Tag @aravindvnair99 to reopen. Thank you for your contributions.

@stale stale bot closed this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants