Skip to content

cargo-deny advisory check failing due to RUSTSEC-2026-0009 (time crate) #539

@lalitb

Description

@lalitb

Summary

The cargo-deny advisory check is failing in CI due to RUSTSEC-2026-0009, a newly published advisory (Feb 5, 2026) for the time crate v0.3.41 - Denial of Service via stack exhaustion in RFC 2822 date parsing.

The cargo-deny job has continue-on-error: true, so CI is not blocked.

Why we can't fix it yet

The fix (time >= 0.3.47) requires Rust 1.88.0, which is incompatible with the workspace MSRV of 1.75.0.

Resolution alternatives

  1. Wait for time crate backport - upstream releases a fix compatible with Rust <1.88.0
  2. Bump workspace MSRV to >= 1.88.0 to allow time 0.3.47 resolution
  3. Ignore the advisory in deny.toml until a compatible fix is available
  4. Not take dependency on time crate and write the necessary functionality ourselves.

Affected dependency tree

time v0.3.41
--> actix-web v4.12.1
--> azure_identity v0.29.0 (via typespec_client_core)
--> cookie v0.16.2 (via actix-web)
--> rcgen v0.14.7
--> yasna v0.5.2 (via rcgen)

Upstream tracking: https://github.com/time-rs/time/blob/main/CHANGELOG.md#0347-2026-02-05

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions