Skip to content

Commit e41f3fe

Browse files
Upgrade protobuf version to fix security issue (#1980)
1 parent f61d441 commit e41f3fe

File tree

6 files changed

+14
-15
lines changed

6 files changed

+14
-15
lines changed

health-and-life-sciences-ai-suite/multi_modal_patient_monitoring/services/3d-pose-estimation/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ARG HTTP_PROXY
44
ARG HTTPS_PROXY
55
ARG NO_PROXY
66

7-
87
# GPU support (if using OpenVINO with GPU plugin, ensure the base image has necessary drivers/libraries)
98
ARG INSTALL_DRIVER_VERSION="25.31.34666"
109
ARG USER_ID=1000
@@ -13,6 +12,7 @@ ARG USER_GROUP_ID=1000
1312
RUN groupadd -g ${USER_GROUP_ID} appuser && useradd -m -s /bin/bash -u ${USER_ID} -g ${USER_GROUP_ID} appuser
1413

1514
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
15+
ca-certificates \
1616
curl \
1717
&& rm -rf /var/lib/apt/lists/*
1818

@@ -32,7 +32,7 @@ WORKDIR /app
3232

3333
# Copy requirements and install Python dependencies (relative to build context)
3434
COPY src/requirements.txt .
35-
RUN pip install --no-cache-dir -r requirements.txt
35+
RUN pip install --no-cache-dir --default-timeout=300 --retries=5 -r requirements.txt
3636

3737
# Copy proto files and generate Python code (relative to build context)
3838
COPY proto/ ./proto/

health-and-life-sciences-ai-suite/multi_modal_patient_monitoring/services/3d-pose-estimation/src/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ numpy>=1.23.0,<2.0
55
scipy>=1.10.0
66

77
# gRPC runtime
8-
grpcio>=1.60.0
9-
grpcio-tools>=1.60.0
10-
protobuf>=4.25.0,<5.0.0
8+
grpcio==1.78.0
9+
grpcio-tools==1.71.2
10+
protobuf==5.29.6
1111

1212
# Control server and MJPEG streaming
1313
fastapi>=0.104.0

health-and-life-sciences-ai-suite/multi_modal_patient_monitoring/services/patient-monitoring-aggregator/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ WORKDIR /app
1010

1111
# Install system packages (if grpcio needs build tools on some platforms)
1212
RUN apt-get update \
13-
&& apt-get install -y --no-install-recommends \
14-
build-essential \
15-
&& rm -rf /var/lib/apt/lists/*
13+
&& apt-get install -y --no-install-recommends \
14+
ca-certificates \
15+
build-essential \
16+
&& rm -rf /var/lib/apt/lists/*
1617

1718
# Copy Python dependencies definition
1819
COPY requirements.txt ./
1920

2021
# Install Python dependencies
21-
RUN pip install --no-cache-dir -r requirements.txt
22+
RUN pip install --no-cache-dir --default-timeout=300 --retries=5 -r requirements.txt
2223

2324
# Copy the application source and proto package (including *_pb2*.py stubs)
2425
COPY aggregator ./aggregator
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
fastapi>=0.110.0
22
uvicorn[standard]>=0.27.0
33
websockets>=12.0
4-
grpcio>=1.60.0
5-
grpcio-tools>=1.60.0
6-
protobuf>=4.25.0
4+
grpcio==1.78.0
5+
protobuf==6.33.5
76
pyyaml>=6.0.0
87
requests>=2.31.0

health-and-life-sciences-ai-suite/multi_modal_patient_monitoring/services/patient-monitoring-assets/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ torch==2.8.0
1212
# Conversion deps
1313
onnx>=1.14.0
1414
onnxscript
15-
protobuf<5.0.0
1615
PyYAML
1716

1817
# OpenVINO (model conversion)

health-and-life-sciences-ai-suite/multi_modal_patient_monitoring/services/rppg/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ scipy>=1.11.0
77
openvino>=2024.6.0,<2025.0
88

99
# gRPC runtime (protos are pre-generated)
10-
grpcio>=1.60.0
11-
protobuf>=4.25.0,<5.0.0
10+
grpcio==1.78.0
11+
protobuf==6.33.5
1212

1313
# Configuration & Utilities
1414
pyyaml>=6.0.0

0 commit comments

Comments
 (0)