You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dependabot alert for time 0.3.41 needs an MSRV decision: every fixed release requires Rust 1.88 #6581
Dependabot alert #110 (GHSA-r6v5-fh4h-64xc, time stack-exhaustion DoS, moderate, fixed in 0.3.47) has been open since 2026-02 and can't be cleared without raising prqlc's MSRV, which is a maintainer decision. This issue tracks that decision so the alert stops resurfacing as untracked.
Why Dependabot can't fix it.Cargo.lock pins time 0.3.41. Every time release that clears the advisory (0.3.46 onward) declares rust-version = 1.88.0, while the workspace declares rust-version = "1.85.0", so the resolver stops at 0.3.45. Dependabot's security updates keep failing with security_update_not_possible (latest-resolvable-version: 0.3.45, lowest-non-vulnerable-version: 0.3.47), most recently run 42877838610 on 2026-11-10.
Why a lockfile-only bump doesn't work.#6284 tried cargo update -p time --precise 0.3.55 and test-msrv failed: time is on prqlc's default graph as a build-dependency through vergen-gitcl, so the 1.85 toolchain can't build it:
Exposure.time is reached only from vergen at build time, to stamp build metadata. It doesn't parse query input, so the advisory's untrusted-input path doesn't look reachable from a compiled prqlc. That is an inference from the dependency edge; I haven't audited vergen's use of time.
Options:
Raise the MSRV to 1.88 and bump time. The comment on update-rust-toolchain in tests.yaml ties the MSRV to when build environments such as Debian and winget update, which is why this isn't a mechanical change.
Keep 1.85 and dismiss the alert as not reachable (build-time only), then revisit at the next MSRV raise.
Drop or replace the vergen-gitcl build-dependency so time leaves the graph.
Still waiting on the MSRV decision. Nothing has changed on main: the workspace is still at rust-version = "1.85.0" and Cargo.lock still pins time 0.3.41. One finding narrows the third option.
Dropping vergen-gitcl's build feature isn't enough.build.rs only emits VERGEN_GIT_DESCRIBE, so the build feature in prqlc/prqlc/Cargo.toml isn't used. Removing it does drop vergen's time edge, but vergen-gitcl 1.0.8 also depends on time directly, without making it optional (it imports time for commit timestamps in src/gitcl/mod.rs). So time only leaves the graph if vergen-gitcl is removed entirely.
Replacing it would be small.build.rs could run git describe --tags --dirty itself and set VERGEN_GIT_DESCRIBE (or a renamed variable). It would need to emit a placeholder when git or .git is missing, for example when building from a crates.io tarball. compiler_version() already falls back to CARGO_PKG_VERSION when that string doesn't parse. The cost is keeping the rerun-if-changed handling for .git/HEAD and refs, which vergen does today.
I haven't opened a PR, because choosing between these options is the decision this issue is tracking. If a maintainer prefers the replacement, it's a self-contained build.rs change that can be checked with test-msrv and prqlc --version.
Activity
prql-bot commentedon Nov 19, 2026
Still waiting on the MSRV decision. Nothing has changed on
main: the workspace is still atrust-version = "1.85.0"andCargo.lockstill pinstime0.3.41. One finding narrows the third option.Dropping
vergen-gitcl'sbuildfeature isn't enough.build.rsonly emitsVERGEN_GIT_DESCRIBE, so thebuildfeature inprqlc/prqlc/Cargo.tomlisn't used. Removing it does dropvergen'stimeedge, butvergen-gitcl1.0.8 also depends ontimedirectly, without making it optional (it importstimefor commit timestamps insrc/gitcl/mod.rs). Sotimeonly leaves the graph ifvergen-gitclis removed entirely.Replacing it would be small.
build.rscould rungit describe --tags --dirtyitself and setVERGEN_GIT_DESCRIBE(or a renamed variable). It would need to emit a placeholder when git or.gitis missing, for example when building from a crates.io tarball.compiler_version()already falls back toCARGO_PKG_VERSIONwhen that string doesn't parse. The cost is keeping thererun-if-changedhandling for.git/HEADand refs, whichvergendoes today.I haven't opened a PR, because choosing between these options is the decision this issue is tracking. If a maintainer prefers the replacement, it's a self-contained
build.rschange that can be checked withtest-msrvandprqlc --version.