diff --git a/Cargo.lock b/Cargo.lock
index 7d521a67..941a35e5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -129,9 +129,12 @@ dependencies = [
 
 [[package]]
 name = "cc"
-version = "1.1.5"
+version = "1.1.24"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "324c74f2155653c90b04f25b2a47a8a631360cb908f92a772695f430c7e31052"
+checksum = "812acba72f0a070b003d3697490d2b55b837230ae7c6c6497f05cc2ddbb8d938"
+dependencies = [
+ "shlex",
+]
 
 [[package]]
 name = "cexpr"
diff --git a/Cargo.toml b/Cargo.toml
index 8254e142..61dc84d3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -40,7 +40,7 @@ anyhow = "1.0.86"
 bindgen = "0.69.4"
 camino = "1.1.9"
 cargo_metadata = "0.18.1"
-cc = "1.1.0"
+cc = "1.1.24"
 cfg-if = "1.0.0"
 clap = "4.5.9"
 clap-cargo = "0.14.1"