You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f9a45db
Browse filesBrowse the repository at this point in the historyBrowse files
Pravali Uppugunduri
committed
fix: Security fixes for Triton HMAC key exposure and missing integrity check (v2)
Backport of v3 security fixes for P400136088 and V2146375387.
1. check_integrity.py: Switch from HMAC-SHA256 to plain SHA-256.
Remove generate_secret_key, remove env var dependency.
2. triton/model.py: Add integrity check in initialize() BEFORE
cloudpickle deserialization.
3. triton/server.py: Remove SAGEMAKER_SERVE_SECRET_KEY from
container environment variables.
4. triton/triton_builder.py: Remove hardcoded dummy secret key
for ONNX path. Rename _hmac_signing to _compute_integrity_hash.
Use plain SHA-256.
5. All prepare.py files (torchserve, mms, tf_serving, smd):
Remove generate_secret_key usage, switch to plain SHA-256.
0 commit comments