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 newdoc

Dependencies

(11 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bpaf^0.90.9.23up to date
 regex^1.101.12.3up to date
 log^0.40.4.29up to date
 simplelog^0.120.12.2up to date
 askama^0.120.15.4out of date
 color-eyre^0.60.6.5up to date
 dialoguer^0.110.12.0out of date
 time ⚠️^0.30.3.47maybe insecure
 directories^5.06.0.0out of date
 figment^0.100.10.19up to date
 serde^1.01.0.228up to date

Build dependencies

(3 total, 1 possibly insecure)

CrateRequiredLatestStatus
 bpaf^0.90.9.23up to date
 time ⚠️^0.30.3.47maybe insecure
 serde^1.01.0.228up 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.