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 icu_time

Dependencies

(15 total, 2 possibly insecure)

CrateRequiredLatestStatus
 calendrical_calculations^0.2.40.2.4up to date
 chrono ⚠️^0.40.4.45maybe insecure
 chrono-tz^0.100.10.4up to date
 databake^0.2.00.2.1up to date
 displaydoc^0.2.30.2.7up to date
 icu_calendar~2.3.02.3.0up to date
 icu_locale_core^2.3.02.3.0up to date
 icu_provider^2.3.02.3.0up to date
 icu_time_data~2.3.02.3.0up to date
 ixdtf^0.6.50.6.6up to date
 jiff^0.20.2.35up to date
 serde^1.0.2201.0.229up to date
 time ⚠️^0.30.3.55maybe insecure
 zerotrie^0.2.50.2.5up to date
 zerovec^0.11.70.11.7up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 tinystr^0.8.40.8.4up to date
 writeable^0.6.40.6.4up to 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

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.