Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update libexpat to fix CVE-2023-52425 #72

Merged
merged 1 commit into from
Feb 13, 2024
Merged
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
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ FROM python:3.11-alpine AS builder

ARG POETRY_VERSION=1.6.1

# Vulnerability fix: CVE-2023-5363
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3

# Install alpine-sdk to compile some langchain dependencies (numexpr, numpy)
RUN apk add --no-cache alpine-sdk linux-headers

Expand Down Expand Up @@ -37,6 +34,8 @@ ENV LOG_LEVEL=INFO

# Vulnerability fix: CVE-2023-5363
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3
# Vulnerability fix: CVE-2023-52425
RUN apk upgrade --no-cache libexpat

# Install libstdc++ to run the compiled dependencies
RUN apk add --no-cache libstdc++
Expand Down
Loading