Security and robustness patch for rustnetconf (0.12.1) and rustnetconf-cli (0.3.1). No API changes.
Fixes
- Well-formed reconstructed XML: the RPC reply parser now re-escapes decoded entities (
&,<,>) when reconstructing<data>,error-info, and Junos inner content. Previouslyunescape()-decoded text was re-emitted raw, which could yield malformed XML for device data containing special characters. Covered by new regression tests. - Cleared yanked dependency: bumped
russh0.60 → 0.61 andaesto 0.9.1, clearing thecargo audityanked-crate warning. - Non-Unix state-file safety: on non-Unix platforms (no portable
chmod),netconfnow warns that saved state snapshots are not guaranteed owner-only, since snapshots may contain sensitive device config.
crates.io
rustnetconf0.12.1rustnetconf-cli0.3.1rustnetconf-yang0.1.3 (unchanged)