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.19.0 #542

Closed

Conversation

aravindvnair99
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade @tensorflow/tfjs-node from 3.14.0 to 4.19.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 36 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
534 Proof of Concept
high severity Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
534 Proof of Concept
high severity Infinite loop
SNYK-JS-MARKDOWNIT-6483324
534 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
534 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
534 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
534 Proof of Concept
high severity Internal Property Tampering
SNYK-JS-TAFFYDB-2992450
534 Proof of Concept
medium severity Improper Authentication
SNYK-JS-JSONWEBTOKEN-3180022
534 No Known Exploit
medium severity Improper Control of Dynamically-Managed Code Resources
SNYK-JS-EJS-6689533
534 No Known Exploit
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
534 No Known Exploit
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
534 Proof of Concept
medium severity Resource Exhaustion
SNYK-JS-JOSE-6419224
534 No Known Exploit
medium severity Improper Restriction of Security Token Assignment
SNYK-JS-JSONWEBTOKEN-3180024
534 No Known Exploit
medium severity Use of a Broken or Risky Cryptographic Algorithm
SNYK-JS-JSONWEBTOKEN-3180026
534 No Known Exploit
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-WORDWRAP-3149973
534 Proof of Concept
low severity Prototype Pollution
SNYK-JS-MINIMIST-2429795
534 Proof of Concept
Release notes
Package name: @tensorflow/tfjs-node
  • 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

    Core (4.15.0 ==> 4.16.0)

    Misc

    Data (4.15.0 ==> 4.16.0)

    Misc

    Layers (4.15.0 ==> 4.16.0)

    Misc

    Converter (4.15.0 ==> 4.16.0)

    Bug fixes

    • apply g3 fixes for jax (#8099).

    Misc

    • Update lockfiles branch tfjs_4.16.0_lockfiles lock files. (#8137). Thanks, @ dbcp1.
    • Update monorepo to 4.16.0. (#8136). Thanks, @ dbcp1.
    • Add support for complex64 data type in parseDtypeParam function (#8083). Thanks, @ Lutra-Fs.

    Node (4.15.0 ==> 4.16.0)

    Misc

    • Update lockfiles branch tfjs_4.16.0_lockfiles lock files. (#8137). Thanks, @ dbcp1.
    • Update monorepo to 4.16.0. (#8136). Thanks, @ dbcp1.

    Wasm (4.15.0 ==> 4.16.0)

    Misc

    • Update lockfiles branch tfjs_4.16.0_lockfiles lock files. (#8137). Thanks, @ dbcp1.
    • Update monorepo to 4.16.0. (#8136). Thanks, @ dbcp1.

    Cpu (4.15.0 ==> 4.16.0)

    Misc

    Webgl (4.15.0 ==> 4.16.0)

    Misc

    • Update lockfiles branch tfjs_4.16.0_lockfiles lock files. (#8137). Thanks, @ dbcp1.
    • Update monorepo to 4.16.0. (#8136). Thanks, @ dbcp1.

    WebGPU (4.15.0 ==> 4.16.0)

    Misc

    • Update lockfiles branch tfjs_4.16.0_lockfiles lock files. (#8137). Thanks, @ dbcp1.
    • Update monorepo to 4.16.0. (#8136). Thanks, @ dbcp1.
  • 4.16.0-rc.0 - 2024-01-09
    • Update lockfiles branch tfjs_4.16.0-rc.0_lockfiles lock files.

    • Update verdaccio.yaml

  • 4.15.0 - 2023-12-12

    Core (4.14.0 ==> 4.15.0)

    Misc

    • Update monorepo to 4.15.0. (#8096). Thanks, @ dbcp1.
    • Stream weights to the GPU when loading a model (#7994).

    Data (4.14.0 ==> 4.15.0)

    Misc

    Layers (4.14.0 ==> 4.15.0)

    Misc

    Converter (4.14.0 ==> 4.15.0)

    Misc

    • Update lockfiles branch tfjs_4.15.0_lockfiles lock files. (#8098). Thanks, @ dbcp1.
    • Update monorepo to 4.15.0. (#8096). Thanks, @ dbcp1.
    • Stream weights to the GPU when loading a model (#7994).

    Node (4.14.0 ==> 4.15.0)

    Misc

    • Update lockfiles branch tfjs_4.15.0_lockfiles lock files. (#8098). Thanks, @ dbcp1.
    • Update monorepo to 4.15.0. (#8096). Thanks, @ dbcp1.

    Wasm (4.14.0 ==> 4.15.0)

    Misc

    • Update lockfiles branch tfjs_4.15.0_lockfiles lock files. (#8098). Thanks, @ dbcp1.
    • Update monorepo to 4.15.0. (#8096). Thanks, @ dbcp1.

    Cpu (4.14.0 ==> 4.15.0)

    Misc

    Webgl (4.14.0 ==> 4.15.0)

    Misc

    • Update lockfiles branch tfjs_4.15.0_lockfiles lock files. (#8098). Thanks, @ dbcp1.
    • Update monorepo to 4.15.0. (#8096). Thanks, @ dbcp1.

    WebGPU (4.14.0 ==> 4.15.0)

    Misc

    • Update lockfiles branch tfjs_4.15.0_lockfiles lock files. (#8098). Thanks, @ dbcp1.
    • Update monorepo to 4.15.0. (#8096). Thanks, @ dbcp1.
  • 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 has created this PR to upgrade @tensorflow/tfjs-node from 3.14.0 to 4.19.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 May 31, 2024

⚠️ We detected 2 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.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Copy link

sonarcloud bot commented May 31, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

stale bot commented Jun 15, 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 Jun 15, 2024
Copy link

stale bot commented Jun 24, 2024

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

@stale stale bot closed this Jun 24, 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