Skip to content

[Snyk] Security upgrade onnx from 1.14.1 to 1.21.0#71

Closed
TheRedHatter wants to merge 1 commit into
masterfrom
snyk-fix-e76462019614383be8aa6fe2129ebf71
Closed

[Snyk] Security upgrade onnx from 1.14.1 to 1.21.0#71
TheRedHatter wants to merge 1 commit into
masterfrom
snyk-fix-e76462019614383be8aa6fe2129ebf71

Conversation

@TheRedHatter

Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • samples/dnn/dnn_model_runner/dnn_conversion/requirements.txt
⚠️ Warning
uvicorn 0.22.0 requires click, which is not installed.
uvicorn 0.22.0 requires h11, which is not installed.
scikit-learn 1.0.2 requires scipy, which is not installed.
python-dateutil 2.9.0.post0 requires six, which is not installed.
paddleseg 2.8.0 requires visualdl, which is not installed.
paddleseg 2.8.0 requires tqdm, which is not installed.
paddleseg 2.8.0 requires filelock, which is not installed.
paddleseg 2.8.0 requires scipy, which is not installed.
paddleseg 2.8.0 requires pyyaml, which is not installed.
paddleseg 2.8.0 requires prettytable, which is not installed.
paddleseg 2.8.0 requires opencv-python, which is not installed.
paddlenlp 2.8.1 requires paddlefsl, which is not installed.
paddlenlp 2.8.1 requires typer, which is not installed.
paddlenlp 2.8.1 requires colorama, which is not installed.
paddlenlp 2.8.1 requires safetensors, which is not installed.
paddlenlp 2.8.1 requires visualdl, which is not installed.
paddlenlp 2.8.1 requires onnx, which is not installed.
paddlenlp 2.8.1 requires sentencepiece, which is not installed.
paddlenlp 2.8.1 requires Flask-Babel, which is not installed.
paddlenlp 2.8.1 requires tqdm, which is not installed.
paddlenlp 2.8.1 requires tool-helpers, which is not installed.
paddlenlp 2.8.1 requires jieba, which is not installed.
paddlenlp 2.8.1 requires dill, which is not installed.
paddlenlp 2.8.1 requires aistudio-sdk, which is not installed.
paddlenlp 2.8.1 requires seqeval, which is not installed.
paddlenlp 2.8.1 requires colorlog, which is not installed.
paddlenlp 2.8.1 requires jinja2, which is not installed.
paddlenlp 2.8.1 requires datasets, which is not installed.
paddlenlp 2.8.1 requires protobuf, which is not installed.
paddlenlp 2.8.1 requires multiprocess, which is not installed.
paddlenlp 2.8.1 requires regex, which is not installed.
paddlenlp 2.8.1 requires fastapi, which is not installed.
paddlenlp 2.8.1 requires rich, which is not installed.
paddlenlp 2.8.1 has requirement huggingface-hub>=0.19.2, but you have huggingface-hub 0.16.4.
paddlehub 2.4.0 requires pyzmq, which is not installed.
paddlehub 2.4.0 requires colorama, which is not installed.
paddlehub 2.4.0 requires gradio, which is not installed.
paddlehub 2.4.0 requires visualdl, which is not installed.
paddlehub 2.4.0 requires pyyaml, which is not installed.
paddlehub 2.4.0 requires matplotlib, which is not installed.
paddlehub 2.4.0 requires gunicorn, which is not installed.
paddlehub 2.4.0 requires tqdm, which is not installed.
paddlehub 2.4.0 requires flask, which is not installed.
paddlehub 2.4.0 requires easydict, which is not installed.
paddlehub 2.4.0 requires opencv-python, which is not installed.
paddlehub 2.4.0 requires packaging, which is not installed.
paddlehub 2.4.0 requires colorlog, which is not installed.
paddlehub 2.4.0 requires filelock, which is not installed.
paddlehub 2.4.0 requires Pillow, which is not installed.
paddlehub 2.4.0 requires rarfile, which is not installed.
paddle2onnx 0.9.5 requires protobuf, which is not installed.
paddle2onnx 0.9.5 requires six, which is not installed.
paddle2onnx 0.9.5 requires onnx, which is not installed.
huggingface-hub 0.16.4 requires filelock, which is not installed.
huggingface-hub 0.16.4 requires requests, which is not installed.
huggingface-hub 0.16.4 requires pyyaml, which is not installed.
huggingface-hub 0.16.4 requires tqdm, which is not installed.
huggingface-hub 0.16.4 requires importlib-metadata, which is not installed.
huggingface-hub 0.16.4 requires packaging, which is not installed.
gradio-client 0.2.6 requires requests, which is not installed.
gradio-client 0.2.6 requires httpx, which is not installed.
gradio-client 0.2.6 requires packaging, which is not installed.

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


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.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

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:

🦉 UNIX Symbolic Link (Symlink) Following

@TheRedHatter

Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This upgrade of the onnx package spans several minor versions and introduces a few notable changes that require verification.

Key Changes:

  • Breaking Change: The defunct and unused model hub integration has been completely removed in version 1.21.0. While this feature was already non-functional, any code referencing it will now fail. [1, 11]
  • Behavioral Change: The semantics for integer division in the Div operator have been modified to use truncating division. This may alter the output of models that rely on the previous integer division behavior. [1, 11]
  • Security: This upgrade is recommended as it resolves several security vulnerabilities present in version 1.14.1, including issues related to directory traversal and symbolic link following. [9]

Recommendation:
Verify that your project does not use the removed model hub functionality. It is also recommended to re-validate the numerical output of any models that use integer division to ensure the change in Div operator behavior does not negatively impact results.

Source: ONNX 1.21.0 Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@TheRedHatter

TheRedHatter commented Jun 26, 2026

Copy link
Copy Markdown
Owner Author

Snyk checks have failed. 1 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (1)
Open Source Security 0 0 0 1 1 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@abhinavshah001

abhinavshah001 commented Jun 26, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@TheRedHatter

Copy link
Copy Markdown
Owner Author

✅ This PR has been automatically closed

The security issues addressed by this pull request are no longer present in the latest project scan. All vulnerabilities this PR was created to fix have been resolved through other means (e.g., dependency updates, direct fixes, or changes in vulnerability data).

Resolved Issues

  • SNYK-PYTHON-ONNX-15674461
  • SNYK-PYTHON-ONNX-15870164

What should I do?

No action is required. If you believe this PR was closed in error, you can reopen it and contact Snyk support.


This action was performed automatically by Snyk.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants