Skip to content

Commit aa784eb

Browse files
Mossakaclaude
andauthored
fix: upgrade packages in agent container to mitigate CVE-2023-44487 (#760)
Add an apt-get upgrade step after the main package installation in the agent Dockerfile. This ensures all base image packages (including Node.js) receive the latest security patches, addressing the HTTP/2 Rapid Reset Attack vulnerability (CVE-2023-44487) and other known CVEs. While this CVE primarily affects HTTP/2 server implementations and the agent container acts as a client, upgrading packages is the most robust defense-in-depth approach. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 311ab0c commit aa784eb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

containers/agent/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ RUN set -eux; \
3333
fi && \
3434
rm -rf /var/lib/apt/lists/*
3535

36+
# Upgrade all packages to pick up security patches
37+
# Addresses CVE-2023-44487 (HTTP/2 Rapid Reset) and other known vulnerabilities
38+
RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
39+
3640
# Create non-root user with UID/GID matching host user
3741
# This allows the user command to run with appropriate permissions
3842
# and prevents file ownership issues with mounted volumes

0 commit comments

Comments
 (0)