Skip to content

chore(deps): ignore RUSTSEC-2026-0285 pending FIPS-certified aws-lc-rs - #172

Merged
lucaspimentel merged 1 commit into
mainfrom
lpimentel/ignore-rustsec-2026-0285
Sep 24, 2026
Merged

lucaspimentel merged 1 commit into
mainfrom
lpimentel/ignore-rustsec-2026-0285

Conversation

@lucaspimentel

Copy link
Copy Markdown
Member

What does this PR do?

Waives RUSTSEC-2026-0285 (rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries) in .cargo/audit.toml and pins the direct rustls dependency in datadog-fips below 0.23.45, so cargo audit (and the cargo-audit CI job) passes while rustls stays at 0.23.37.

Motivation

The fix for RUSTSEC-2026-0285 requires rustls >= 0.23.45, which requires aws-lc-rs >= 1.18. That pulls in AWS-LC-FIPS 4.x, which has not completed FIPS 140-3 certification; only the 3.x module is NIST CMVP validated. Bumping would therefore regress the FIPS posture of the datadog-fips crate. The pin prevents a future cargo update from silently re-bumping rustls into the non-FIPS-certified range.

Mirrors DataDog/datadog-lambda-extension#1389 and DataDog/saluki#2606. Supersedes #170 (closed).

Additional Notes

Removal criteria for the ignore (also documented in .cargo/audit.toml): remove the RUSTSEC-2026-0285 entry and lift the <0.23.45 pin once a FIPS-certified aws-lc-rs supporting rustls 0.23.45 is available, then re-apply the bump.

The repo root is the cargo workspace root, so rustsec/audit-check picks up .cargo/audit.toml with no workflow changes (unlike bottlecap, which needed the extra ignore: input).

Describe how to test/QA your changes

  • cargo metadata --locked succeeds (lockfile satisfies the new constraint without update)
  • cargo audit exits 0: RUSTSEC-2026-0285 ignored, no other advisories added to the ignore list, only the pre-existing allowed warning remains (RUSTSEC-2026-0253)
  • cargo check -p datadog-fips and cargo check -p datadog-fips --features fips pass
  • Cargo.lock is unchanged

RUSTSEC-2026-0285 (rustls TLS 1.3 handshake messages accepted across
encryption level boundaries) is fixed in rustls 0.23.45, but that version
requires aws-lc-rs >= 1.18, which pulls in AWS-LC-FIPS 4.x, pending FIPS
140-3 certification. Pin the direct rustls dependency below 0.23.45 and
waive the advisory in .cargo/audit.toml so cargo audit passes. Mirrors
DataDog/datadog-lambda-extension#1389 and DataDog/saluki#2606.
@lucaspimentel
lucaspimentel marked this pull request as ready for review September 24, 2026 15:05
Copilot AI lite review requested due to automatic review settings September 24, 2026 15:05
@lucaspimentel
lucaspimentel requested review from a team as code owners September 24, 2026 15:05
@lucaspimentel
lucaspimentel requested review from kathiehuang and shreyamalpani and removed request for a team September 24, 2026 15:05
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-24T15:08:11.475783Z 1235a5e Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lucaspimentel
lucaspimentel merged commit 8156757 into main Sep 24, 2026
28 checks passed
@lucaspimentel
lucaspimentel deleted the lpimentel/ignore-rustsec-2026-0285 branch September 24, 2026 15:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The blanket suppression can hide affected non-FIPS consumers, and the remediation documentation is incomplete.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

This PR preserves the FIPS dependency posture by pinning rustls below 0.23.45 and suppressing RUSTSEC-2026-0285 pending certified aws-lc-rs support.

Changes:

  • Constrains the datadog-fips Rustls dependency.
  • Adds a documented workspace-wide audit ignore.
  • Leaves Cargo.lock unchanged.

The workspace-wide suppression may mask advisory exposure in non-FIPS TLS consumers, and the removal documentation should also specify lifting the pin and reapplying the Rustls upgrade.

File Description
crates/​datadog-fips/​Cargo.toml Pins the FIPS Rustls dependency below 0.23.45.
.cargo/​audit.toml Configures and documents the advisory suppression.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .cargo/audit.toml
# certification. Remove this ignore once a FIPS-certified aws-lc-rs is
# available.
[advisories]
ignore = ["RUSTSEC-2026-0285"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants