Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/security_tests_python_v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ jobs:
export SERVER_IMAGE_TAG="sec-tests/${{ matrix.server }}-$(date +%s)-$(openssl rand -hex 4)"
echo "SERVER_IMAGE_TAG=$SERVER_IMAGE_TAG" >> $GITHUB_ENV
make IMAGE_NAME=$SERVER_IMAGE_TAG VERSION=test BASE_IMAGE=${{ needs.build-upload-scan-base-images.outputs.python_base_image_tag }}:test docker-build

- name: Capture pip freeze
run: |
docker run --rm $SERVER_IMAGE_TAG:test pip freeze > pip-freeze-${{ matrix.server }}.txt

- name: Scan
id: scan
uses: snyk/actions/docker@master
Expand All @@ -166,6 +171,12 @@ jobs:
with:
name: report-${{ matrix.server }}
path: report-${{ matrix.server }}.txt

- name: Upload pip freeze
uses: actions/upload-artifact@v4
with:
name: pip-freeze-${{ matrix.server }}
path: pip-freeze-${{ matrix.server }}.txt

build-alibi-explain:
needs: build-upload-scan-base-images
Expand Down
28 changes: 14 additions & 14 deletions components/alibi-detect-server/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/alibi-detect-server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ scikit-learn = "1.7.2"
elasticsearch = "7.9.1"

sh = "^1.14.2"
tornado = "^6.1"
tornado = "^6.5.3"
protobuf = "^5.29.1"

google-cloud-core = "1.4.1"
Expand Down
2 changes: 2 additions & 0 deletions components/alibi-explain-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ RUN cp ./licenses/* /licenses
# Install python spacy model to avoid issues in airgapped envs
RUN python -m spacy download en_core_web_md

# Remove spacy tests to eliminate the CVE-2024-6345 vulnerability in setuptools dependency
RUN rm -rf /opt/conda/lib/python3.12/site-packages/spacy/tests/

# Copy rest of the package
COPY alibiexplainer alibiexplainer
Expand Down
40 changes: 20 additions & 20 deletions components/alibi-explain-server/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions components/alibi-explain-server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ transformers = "^4.53.0"
catboost = "^1.2.8"
tf-keras = "2.18.0"

tornado = "6.5.2"
tornado = "6.5.3"
protobuf = "5.29.5"
joblib = "1.2.0"
requests = "^2.32.5"
urllib3 = "^2.5.0"
urllib3 = "^2.6.0"
jinja2 = "^3.1.6"
werkzeug = "^3.1.3"
pillow = "^10.4.0"
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"cryptography>=46.0.3",
"pyyaml>=6.0.3",
"click>=8.3.0",
"urllib3>=2.5.0",
"urllib3>=2.6.0",
],
extras_require=extras,
entry_points={
Expand Down
1 change: 1 addition & 0 deletions servers/mlflowserver/mlflowserver/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PyYAML >= 6.0.3, < 7.0.0 # Python 3.12 compatiblity + CVE
requests >= 2.32.5
urllib3 >= 2.6.0
pandas >= 2.3.3

# CVE-2023-47248, CVE-2023-6753, CVE-2023-6709
Expand Down
2 changes: 2 additions & 0 deletions servers/tfserving_proxy/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ tensorflow-serving-api>=1.10.1
grpcio>=1.32.0 # Required for https://github.com/SeldonIO/seldon-core/issues/2787
grpcio-reflection>=1.32.0 # Required for https://github.com/SeldonIO/seldon-core/issues/2787
requests
urllib3>=2.6.0
setuptools==78.1.1
Loading