Repository navigation
ci: ignore three new rustls advisories in cargo-audit, matching the RUSTSEC-2026-0285 waiver - #1425
Conversation
…USTSEC-2026-0285 waiver RUSTSEC-2026-0346, RUSTSEC-2026-0348 and RUSTSEC-2026-0349 are fixed in rustls 0.23.46, which requires aws-lc-rs >= 1.18 and so AWS-LC-FIPS 4.x, pending FIPS 140-3 certification. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Accepting additional TLS security advisories requires human confirmation of the exposure and FIPS tradeoff.
0 open findings
What changed in this PR
Extends Bottlecap’s existing rustls audit waiver to three additional advisories while dependency upgrades remain blocked by FIPS certification requirements.
Changes:
- Adds three advisory IDs to both local and CI ignore lists.
- Updates comments explaining the upgrade constraint and waiver removal criteria.
| File | Description |
|---|---|
bottlecap/.cargo/audit.toml |
Adds local waivers and updates their rationale. |
.github/workflows/rs_ci.yml |
Synchronizes CI with the local ignore list. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 1 Pipeline job failed
ℹ️ Info🔄 Datadog auto-retried 1 job - 0 passed on retry Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: fe722ff | Docs | View more details | Give us feedback! |
litianningdatadog
left a comment
There was a problem hiding this comment.
QQ: do we need to make the same change in serverless-compat if so?
@litianningdatadog Yes, in DataDog/serverless-components#184 |
Problem
The "Bottlecap (Rust) / Audit" check fails on every branch, for example #1418.
mainfails the same way. On 2026-10-14, RustSec published three advisories forrustls0.23.43, the version inCargo.lock.cargo auditreports them as vulnerabilities and exits with an error.Debugoutput of client session values shows TLS secretsWhy this PR ignores the advisories
We cannot use
rustls0.23.46 yet. The block is the same as for RUSTSEC-2026-0285:rustls0.23.46 requiresaws-lc-rs1.18 or later, the same as 0.23.45.aws-lc-rs1.18 uses AWS-LC-FIPS 4.x, which has no FIPS 140-3 certification yet. Our FIPS builds must use a certified crypto module. For this reason, Revert "chore(deps): bumprustlsto 0.23.45" (#1376) #1389 reverted the bump to 0.23.45, andCargo.tomlkeepsrustlsbelow 0.23.45.aws-lc-rs, but both builds use the sameCargo.lock, so they get the samerustlsversion.Impact
Debug. The bottlecap source has no custom session store.brotlifeature ofrustlsis on.Cargo.lockhas nobrotlicrate, so the feature is off.Fix
Add the three IDs to the two ignore lists for
cargo audit:bottlecap/.cargo/audit.toml, which local runs read.ignoreinput of the audit step inrs_ci.yml. CI reads only this list.Testing
Steps
bottlecap/onmain, runcargo audit --ignore RUSTSEC-2026-0285. This is the command that CI runs.cargo auditwith no flags. This reads.cargo/audit.toml.cargo audit --jsonwith the four--ignoreflags fromrs_ci.yml.Result
cargo audit, CI ignore listcargo audit,.cargo/audit.tomlcargo-audit0.22.1 ran on macOS. The CI Audit job on this PR is the check for Linux.🤖 Generated with Claude Code