-
Notifications
You must be signed in to change notification settings - Fork 2
Update Docker and CMake dependencies #34
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
base: main
Are you sure you want to change the base?
Changes from all commits
e5fc6a1
a452941
32683a1
69d2836
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM ubuntu:focal-20220531 | ||
| FROM ubuntu:focal-20250404 | ||
|
|
||
| RUN apt-get update -y | ||
| RUN apt-get -y install gdb | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ include(FetchContent) | |
| FetchContent_Declare( | ||
| spdlog | ||
| GIT_REPOSITORY https://github.com/gabime/spdlog.git | ||
| GIT_TAG v1.13.0 | ||
| GIT_TAG v1.17.0 | ||
|
||
| ) | ||
| FetchContent_MakeAvailable(spdlog) | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ include(FetchContent) | |
| FetchContent_Declare( | ||
| spdlog | ||
| GIT_REPOSITORY https://github.com/gabime/spdlog.git | ||
| GIT_TAG v1.13.0 | ||
| GIT_TAG v1.17.0 | ||
|
||
| ) | ||
| FetchContent_MakeAvailable(spdlog) | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM ubuntu:focal-20220531 | ||
| FROM ubuntu:focal-20250404 | ||
|
|
||
| RUN apt-get update -y | ||
| RUN apt-get -y install git | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -14,28 +14,28 @@ include(FetchContent) | |||||
| FetchContent_Declare( | ||||||
| rapidcsv | ||||||
| GIT_REPOSITORY https://github.com/d99kris/rapidcsv | ||||||
| GIT_TAG v8.82 | ||||||
| GIT_TAG v8.90 | ||||||
| ) | ||||||
| FetchContent_MakeAvailable(rapidcsv) | ||||||
|
|
||||||
| FetchContent_Declare( | ||||||
| spdlog | ||||||
| GIT_REPOSITORY https://github.com/gabime/spdlog.git | ||||||
| GIT_TAG v1.13.0 | ||||||
| GIT_TAG v1.17.0 | ||||||
| ) | ||||||
| FetchContent_MakeAvailable(spdlog) | ||||||
|
|
||||||
| FetchContent_Declare( | ||||||
| toml11 | ||||||
| GIT_REPOSITORY https://github.com/ToruNiina/toml11 | ||||||
| GIT_TAG v3.7.0 | ||||||
| GIT_TAG v3.8.1 | ||||||
| ) | ||||||
| FetchContent_MakeAvailable(toml11) | ||||||
|
|
||||||
| FetchContent_Declare( | ||||||
| CLI11 | ||||||
| GIT_REPOSITORY https://github.com/CLIUtils/CLI11 | ||||||
| GIT_TAG v1.3.0 | ||||||
| GIT_TAG v1.9.1 | ||||||
|
||||||
| GIT_TAG v1.9.1 | |
| GIT_TAG v1.3.0 |
Copilot
AI
Jan 31, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These FetchContent_Declare dependencies (rapidcsv, spdlog, toml11, CLI11) are pinned only to Git tags (v8.90, v1.17.0, v3.8.1, v1.9.1), so if any upstream repository or tag is compromised or force-moved, your build could transparently pull and compile attacker-controlled code. To reduce this supply-chain risk, pin these dependencies to immutable commit SHAs (or vendor them locally) instead of relying on mutable tags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this CMake list, both
spdlogandtoml11are fetched from GitHub using only version tags (v1.17.0,v3.8.1), which can be moved or replaced upstream, enabling a potential supply-chain attack where your build consumes malicious code without local changes. Pin these dependencies to specific commit SHAs (or vendor them) so that builds are reproducible and cannot be silently altered by upstream tag changes.