security: bump aws-lc-rs, time, and serde_with to fix RustSec advisories - #4188
security: bump aws-lc-rs, time, and serde_with to fix RustSec advisories#4188Gustavo-Jodar wants to merge 3 commits into
Conversation
|
Fixes several security advisories affecting Rust dependencies: - GHSA-65p9-r9h6-22vj, GHSA-9f94-5g5w-gf6r, GHSA-394x-vwmw-crm3, GHSA-hfpc-8r3f-gw53, GHSA-vw5v-4f2q-w9xf: aws-lc-fips-sys/aws-lc-sys, pulled in transitively via aws-lc-rs (rustls -> libdd-common). Fixed by bumping aws-lc-rs 1.15.4 -> 1.18.1, which pulls aws-lc-sys 0.37.0 -> 0.45.0 and aws-lc-fips-sys 0.13.6 -> 0.14.2. - CVE-2026-25727 (RUSTSEC-2026-0009/GHSA-r6v5-fh4h-64xc): time crate RFC2822 parser stack exhaustion. Fixed by bumping time 0.3.37 -> 0.3.47. - GHSA-7gcf-g7xr-8hxj: serde_with KeyValueMap adapter panic DoS. Fixed by bumping serde_with 3.12.0 -> 3.21.0. The time/serde_with fixed versions require rustc >= 1.88 (their declared MSRV), so this also bumps the toolchain pin from 1.87.0 to 1.88.0 across Cargo.toml, rust-toolchain.toml, profiling/rust-toolchain.toml, and the Dockerfiles that install the Rust toolchain for CI/dev images (bookworm, centos-7 base image with updated SHA256 checksums, Windows base tools, appsec integration test image). CVE-2026-25541 (bytes) required no change: the lockfile was already at the fixed version 1.11.1. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
438b13c to
4bef5d4
Compare
Benchmarks [ profiler ]Benchmark execution time: 2026-09-14 14:43:23 Comparing candidate commit bd34e4d in PR branch Found 0 performance improvements and 3 performance regressions! Performance is the same for 25 metrics, 8 unstable metrics.
|
Alpine 3.22's apk-provided rust package is 1.87.0, which is below the new rust-version = "1.88.0" MSRV set in Cargo.toml, so cargo builds in this image fail with "requires rustc 1.88.0". Alpine 3.23 ships rust-1.91.1-r2. Bump the clang/llvm packages from 20 to 21 to match, since they must track rustc's LLVM version for cross-language LTO. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The Bookworm CI images were rebuilt as bookworm-11 (see dockerfiles/ci/bookworm/.env's BOOKWORM_NEXT_VERSION) to pick up the Rust 1.88.0 MSRV, but references to the old bookworm-10 tag across the generator scripts, docker-compose.yml, and the GitHub Actions asan workflow were never updated. Bump BOOKWORM_CURRENT_VERSION to 11 and BOOKWORM_NEXT_VERSION to 12 now that bookworm-11 is live. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Note that This is rust-lang/cargo#10801. |
Benchmarks [ tracer ]Benchmark execution time: 2026-09-14 15:34:59 Comparing candidate commit bd34e4d in PR branch Found 4 performance improvements and 0 performance regressions! Performance is the same for 190 metrics, 0 unstable metrics.
|
Fixes several security advisories affecting Rust dependencies:
GHSA-65p9-r9h6-22vj, GHSA-9f94-5g5w-gf6r, GHSA-394x-vwmw-crm3, GHSA-hfpc-8r3f-gw53, GHSA-vw5v-4f2q-w9xf: aws-lc-fips-sys/aws-lc-sys, pulled in transitively via aws-lc-rs (rustls -> libdd-common). Fixed by bumping aws-lc-rs 1.15.4 -> 1.18.1, which pulls aws-lc-sys 0.37.0 -> 0.45.0 and aws-lc-fips-sys 0.13.6 -> 0.14.2.
CVE-2026-25727 (RUSTSEC-2026-0009/GHSA-r6v5-fh4h-64xc): time crate RFC2822 parser stack exhaustion. Fixed by bumping time 0.3.37 -> 0.3.47.
GHSA-7gcf-g7xr-8hxj: serde_with KeyValueMap adapter panic DoS. Fixed by bumping serde_with 3.12.0 -> 3.21.0.
The time/serde_with fixed versions require rustc >= 1.88 (their declared MSRV), so this also bumps the toolchain pin from 1.87.0 to 1.88.0 across Cargo.toml, rust-toolchain.toml, profiling/rust-toolchain.toml, and the Dockerfiles that install the Rust toolchain for CI/dev images (bookworm, centos-7 base image with updated SHA256 checksums, Windows base tools, appsec integration test image).
CVE-2026-25541 (bytes) required no change: the lockfile was already at the fixed version 1.11.1.
Description
Reviewer checklist