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 asn1-rs

Dependencies

(11 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 asn1-rs-derive^0.10.7.0out of date
 asn1-rs-impl^0.10.3.0out of date
 bitvec^1.01.0.1up to date
 cookie-factory^0.3.00.3.3up to date
 displaydoc^0.2.20.2.5up to date
 nom^7.08.0.0out of date
 num-bigint^0.40.4.6up to date
 num-traits^0.2.140.2.19up to date
 rusticata-macros^4.05.0.0out of date
 thiserror^1.0.252.0.18out of date
 time ⚠️^0.30.3.47maybe insecure

Dev dependencies

(5 total, 4 outdated)

CrateRequiredLatestStatus
 colored^2.03.1.1out of date
 hex-literal^0.3.11.1.0out of date
 oid-registry^0.30.8.1out of date
 pem^1.03.0.6out of date
 trybuild^1.01.0.116up 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.