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 morty

Dependencies

(13 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.101up to date
 term^0.71.2.1out of date
 clap^44.5.59up to date
 sv-parser^0.130.13.4up to date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 log^0.40.4.29up to date
 simple_logger^45.2.0out of date
 colored^2.0.03.1.1out of date
 pulldown-cmark^0.90.13.0out of date
 rayon^1.31.11.0up to date
 time ⚠️^0.30.3.47maybe insecure
 petgraph^0.60.8.3out of date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 assert_cmd^2.02.1.2up to date
 predicates^33.1.4up to date
 assert_fs^1.01.1.3up 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.