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

Dependencies

(17 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 base64^0.13.00.23.1out of date
 console_error_panic_hook^0.1.70.1.7up to date
 image^0.24.80.25.10out of date
 imageproc^0.23.00.27.0out of date
 instant^0.1.120.1.13up to date
 js-sys^0.3.620.3.105up to date
 node-sys^0.4.20.4.2up to date
 palette^0.6.10.7.7out of date
 perlin2d^0.2.60.2.6up to date
 rand^0.7.20.10.2out of date
 rusttype^0.9.20.9.3up to date
 serde^1.01.0.229up to date
 thiserror^1.02.0.20out of date
 time ⚠️^0.3.210.3.55maybe insecure
 wasm-bindgen^0.2.920.2.128up to date
 web-sys^0.30.3.105up to date
 wee_alloc^0.4.20.4.5up to date

Dev dependencies

(2 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 criterion^0.30.8.2out of date
 time ⚠️^0.3.210.3.55maybe insecure

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.