intel / ai-containers

This repository contains Dockerfiles, scripts, yaml files, Helm charts, etc. used to scale out AI containers with versions of TensorFlow and PyTorch that have been optimized for Intel platforms. Scaling is done with python, Docker, kubernetes, kubeflow, cnvrg.io, Helm, and other container orchestration frameworks for use in the cloud and on-premise
https://intel.github.io/ai-containers/
Apache License 2.0
23 stars 17 forks source link

update setuptools and pip to resolve trivy vulnerabilities #380

Closed sramakintel closed 3 weeks ago

sramakintel commented 3 weeks ago

Description

Fix vulnerabilities in serve container

Related Issue

Changes Made

Validation

github-actions[bot] commented 3 weeks ago

Dependency Review

The following issues were found:

See the Details below.

License Issues

pytorch/venv-requirements.txt

PackageVersionLicenseIssue Type
intel-openmp2024.2.1NullUnknown License
mkl-include2024.2.1NullUnknown License
mkl2024.2.1NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
pip/numpy 2.1.1 :green_circle: 7.9
Details
CheckScoreReason
Binary-Artifacts:green_circle: 10no binaries found in the repo
Branch-Protection:green_circle: 3branch protection is not maximal on development and all release branches
CI-Tests:green_circle: 1013 out of 13 merged PRs checked by a CI test -- score normalized to 10
CII-Best-Practices:warning: 0no effort to earn an OpenSSF best practices badge detected
Code-Review:green_circle: 10all changesets reviewed
Contributors:green_circle: 10project has 93 contributing companies or organizations
Dangerous-Workflow:green_circle: 10no dangerous workflow patterns detected
Dependency-Update-Tool:green_circle: 10update tool detected
Fuzzing:green_circle: 10project is fuzzed
License:green_circle: 9license file detected
Maintained:green_circle: 1030 commit(s) and 18 issue activity found in the last 90 days -- score normalized to 10
Packaging:warning: -1packaging workflow not detected
Pinned-Dependencies:green_circle: 3dependency not pinned by hash detected -- score normalized to 3
SAST:green_circle: 9SAST tool detected but not run on all commits
Security-Policy:green_circle: 9security policy file detected
Signed-Releases:warning: 0Project has not signed or included provenance with any releases.
Token-Permissions:green_circle: 9detected GitHub workflow tokens with excessive permissions
Vulnerabilities:green_circle: 100 existing vulnerabilities detected
pip/intel-openmp 2024.2.1 UnknownUnknown
pip/mkl 2024.2.1 UnknownUnknown
pip/mkl-include 2024.2.1 UnknownUnknown
pip/psutil 6.0.0 :green_circle: 5.8
Details
CheckScoreReason
Maintained:green_circle: 106 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10
Code-Review:warning: 2Found 8/30 approved changesets -- score normalized to 2
CII-Best-Practices:warning: 0no effort to earn an OpenSSF best practices badge detected
License:green_circle: 10license file detected
Signed-Releases:warning: -1no releases found
Security-Policy:green_circle: 10security policy file detected
Token-Permissions:warning: 0detected GitHub workflow tokens with excessive permissions
Dangerous-Workflow:green_circle: 10no dangerous workflow patterns detected
Packaging:warning: -1packaging workflow not detected
Branch-Protection:warning: 0branch protection not enabled on development/release branches
Binary-Artifacts:green_circle: 10no binaries found in the repo
Pinned-Dependencies:warning: 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing:green_circle: 10project is fuzzed
Vulnerabilities:green_circle: 100 existing vulnerabilities detected
SAST:warning: 0SAST tool is not run on all commits -- score normalized to 0
pip/setuptools >= 70.0.0 :green_circle: 4.9
Details
CheckScoreReason
Code-Review:warning: 0Found 1/12 approved changesets -- score normalized to 0
Maintained:green_circle: 1030 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices:warning: 0no effort to earn an OpenSSF best practices badge detected
License:green_circle: 10license file detected
Signed-Releases:warning: -1no releases found
Packaging:warning: -1packaging workflow not detected
Security-Policy:green_circle: 10security policy file detected
Dangerous-Workflow:green_circle: 10no dangerous workflow patterns detected
Token-Permissions:warning: 0detected GitHub workflow tokens with excessive permissions
Branch-Protection:warning: 0branch protection not enabled on development/release branches
Binary-Artifacts:warning: 2binaries present in source code
Vulnerabilities:green_circle: 100 existing vulnerabilities detected
Pinned-Dependencies:warning: 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing:green_circle: 10project is fuzzed
SAST:warning: 0SAST tool is not run on all commits -- score normalized to 0

Scanned Manifest Files

pytorch/serving/torchserve-xpu-requirements.txt
  • numpy@2.1.1
  • numpy@1.26.4
pytorch/venv-requirements.txt
  • intel-openmp@2024.2.1
  • mkl@2024.2.1
  • mkl-include@2024.2.1
  • psutil@6.0.0
  • setuptools@>= 70.0.0
github-advanced-security[bot] commented 3 weeks ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.