Skip to content

Commit be99429

Browse files
authored
Fix expat CVE (#6)
* Migrated github actions to v4 * Added fixes for expat and other cves by installing libexpat1 and updating packages
1 parent 4018fe5 commit be99429

File tree

3 files changed

+37
-40
lines changed

3 files changed

+37
-40
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ FROM python:3.12-slim
2323

2424
WORKDIR /app
2525

26+
# We're installing here libexpat1, to upgrade the package to include a fix to 3 high CVEs. CVE-2024-45491,CVE-2024-45490,CVE-2024-45492
2627
RUN apt-get update \
2728
&& apt-get install -y --no-install-recommends \
2829
curl \
2930
gnupg \
3031
lsb-release \
3132
unzip \
33+
&& apt-get install -y --no-install-recommends libexpat1 \
3234
&& rm -rf /var/lib/apt/lists/*
3335

3436
# Install Google cli so kubectl works w/ gke clusters

poetry.lock

Lines changed: 33 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ python = "^3.8, <3.13"
1313
typer = "^0.12.3"
1414
pyyaml = "^6.0.1"
1515
click-spinner = "^0.1.10"
16-
cryptography = "^42.0.7"
16+
cryptography = "43.0.1"
1717
dpath = "^2.0.5"
1818
pydantic = "^1.0"
1919
slack-sdk = "^3"
2020
pyjwt = "^2.4.0"
2121
requests = "^2.32.2"
22-
certifi = "^2024.2.2"
22+
certifi = "2024.7.4"
2323
types-toml = "^0.10.2"
2424
toml = "^0.10.2"
2525
hikaru-model-28 = "^1.1.0"

0 commit comments

Comments
 (0)