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 typesize

Dependencies

(18 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 arrayvec^0.7.40.7.7up to date
 bitvec^1.0.11.1.1up to date
 chrono^0.4.310.4.45up to date
 dashmap^5.5.36.2.1out of date
 extract_map^0.1.00.3.1out of date
 halfbrown^0.2.40.4.0out of date
 hashbrown^0.15.20.17.1out of date
 jiff^0.2.240.2.29up to date
 mini-moka^0.10.20.10.3up to date
 nonmax^0.5.50.5.5up to date
 parking_lot^0.12.10.12.5up to date
 secrecy^0.8.00.10.3out of date
 serde_json^11.0.150up to date
 simd-json^0.130.17.0out of date
 time ⚠️^0.3.300.3.51maybe insecure
 typesize-derive=0.1.110.1.11up to date
 url^2.42.5.8up to date
 web-time^1.1.01.1.0up to date

Security Vulnerabilities

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.