Skip to content

fix: suppress RUSTSEC-2026-0009 for time crate in cargo deny#1882

Merged
BraveY merged 2 commits intomasterfrom
copilot/fix-cargo-deny-ci
Feb 28, 2026
Merged

fix: suppress RUSTSEC-2026-0009 for time crate in cargo deny#1882
BraveY merged 2 commits intomasterfrom
copilot/fix-cargo-deny-ci

Conversation

Copy link
Contributor

Copilot AI commented Feb 28, 2026

cargo deny CI fails due to RUSTSEC-2026-0009 (DoS via stack exhaustion in time's RFC 2822 parser). The patched version (time >= 0.3.47) uses edition = "2024", requiring Cargo 1.85+, which conflicts with the project's pinned toolchain (1.84.0).

Changes

  • deny.toml: Add RUSTSEC-2026-0009 to the advisory ignore list

The vulnerability is not exploitable here — time is used only for:

  • ISO 8601 build timestamps (build.rs)
  • AWS S3 request signing (storage/)

Neither involves parsing RFC 2822 input from untrusted sources.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/EmbarkStudios/cargo-deny/releases/latest
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • rustsec.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: imeoer <1524576+imeoer@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix cargo deny CI issues fix: suppress RUSTSEC-2026-0009 for time crate in cargo deny Feb 28, 2026
@imeoer imeoer marked this pull request as ready for review February 28, 2026 08:27
@codecov
Copy link

codecov bot commented Feb 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.94%. Comparing base (8b50bbf) to head (c3fa3e9).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1882   +/-   ##
=======================================
  Coverage   56.94%   56.94%           
=======================================
  Files         199      199           
  Lines       51623    51623           
  Branches    44426    44426           
=======================================
  Hits        29398    29398           
  Misses      20760    20760           
  Partials     1465     1465           

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@BraveY BraveY left a comment

Choose a reason for hiding this comment

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

LGTM

@BraveY BraveY merged commit 67cd3d1 into master Feb 28, 2026
55 checks passed
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