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 s2protocol

Dependencies

(24 total, 2 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 arrow^5758.1.0out of date
 arrow_convert^0.11.00.11.4up to date
 chrono ⚠️^0.40.4.44maybe insecure
 clap^4.54.6.0up to date
 color-eyre^0.60.6.5up to date
 colored^3.03.1.1up to date
 convert_case^0.110.11.0up to date
 crossterm^0.290.29.0up to date
 include_assets^1.0.01.0.0up to date
 itertools^0.140.14.0up to date
 libc^0.20.2.184up to date
 nom^8.08.0.0up to date
 nom-mpq^2.0.62.0.6up to date
 ratatui^0.290.30.0out of date
 rayon^1.111.11.0up to date
 serde^1.01.0.228up to date
 serde-xml-rs^0.80.8.2up to date
 serde_json^1.01.0.149up to date
 sha256^1.61.6.0up to date
 syntect^5.35.3.0up to date
 syntect-tui^3.03.0.6up to date
 thiserror^22.0.18up to date
 tracing^0.10.1.44up to date
 tracing-subscriber ⚠️^0.30.3.23maybe insecure

Dev dependencies

(2 total, 1 possibly insecure)

CrateRequiredLatestStatus
 test-log^0.20.2.19up to date
 tracing-subscriber ⚠️^0.30.3.23maybe insecure

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.