This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate jwt-authorizer

Dependencies

(20 total, 5 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 axum^0.70.8.8out of date
 chrono ⚠️^0.40.4.44maybe insecure
 futures-core^0.30.3.32up to date
 futures-util^0.30.3.32up to date
 headers^0.40.4.1up to date
 http^1.01.4.0up to date
 http-body-util^0.1.00.1.3up to date
 jsonwebtoken^9.210.3.0out of date
 pin-project^1.01.1.11up to date
 reqwest^0.110.13.2out of date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 thiserror^1.02.0.18out of date
 time ⚠️^0.30.3.47maybe insecure
 tokio^1.251.50.0up to date
 tower-http^0.50.6.8out of date
 tower-layer^0.30.3.3up to date
 tower-service^0.30.3.3up to date
 tracing^0.10.1.44up to date
 tracing-subscriber ⚠️^0.30.3.23maybe insecure

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 hyper^1.1.01.9.0up to date
 lazy_static^1.4.01.5.0up to date
 tower^0.4.130.5.3out of date
 wiremock^0.5.220.6.5out of date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.