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 wolfpack

Dependencies

(66 total, 20 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 ar^0.9.00.9.0up to date
 async-trait^0.1.890.1.91up to date
 base16ct^1.0.01.0.0up to date
 base58^0.2.00.2.0up to date
 base64ct^1.8.31.8.3up to date
 bitflags^2.10.02.13.1up to date
 blake2b_simd^1.0.41.0.4up to date
 bzip2^0.6.10.6.1up to date
 chrono^0.4.430.4.45up to date
 clap^4.5.544.6.4up to date
 command-error^0.8.00.8.0up to date
 constant_time_eq^0.4.20.5.0out of date
 kpea^0.2.50.3.0out of date
 crc^3.4.03.4.0up to date
 deko^0.6.00.6.0up to date
 der^0.7.100.8.1out of date
 ed25519-dalek^2.2.03.0.0out of date
 elb^0.4.00.4.0up to date
 elb-dl^0.4.00.4.0up to date
 flate2^1.1.81.1.9up to date
 fs-err^3.2.23.3.1up to date
 futures^0.3.310.3.33up to date
 futures-util^0.3.310.3.33up to date
 hex^0.4.30.4.3up to date
 hkdf^0.12.40.13.0out of date
 indicatif^0.18.30.18.6up to date
 ksign^0.4.00.4.0up to date
 libc^0.2.1800.2.189up to date
 log^0.4.290.4.33up to date
 md5^0.8.00.8.1up to date
 normalize-path^0.2.10.2.1up to date
 page_size^0.6.00.6.0up to date
 parking_lot^0.12.50.12.5up to date
 pgp^0.15.00.20.0out of date
 pkcs8^0.10.20.11.0out of date
 quick-xml ⚠️^0.39.00.41.0out of date
 rand^0.8.50.10.2out of date
 rand_chacha^0.3.10.10.0out of date
 rand_mt^4.2.26.0.3out of date
 reqwest^0.13.10.13.4up to date
 rusqlite^0.38.00.40.1out of date
 rusqlite_migration^2.4.02.6.0up to date
 secp256k1^0.30.00.31.1out of date
 serde^1.0.2281.0.229up to date
 serde_json^1.0.1491.0.151up to date
 sha1^0.10.60.11.0out of date
 sha2^0.10.90.11.0out of date
 similar-asserts^1.7.02.0.0out of date
 spki^0.7.30.8.0out of date
 sql_minifier^0.1.70.1.7up to date
 static_assertions^1.1.01.1.0up to date
 stuckliste^0.4.00.4.0up to date
 tantivy^0.25.00.26.1out of date
 tar ⚠️^0.4.440.4.46maybe insecure
 tempfile^3.24.03.27.0up to date
 thiserror^2.0.182.0.19up to date
 threadpool^1.8.11.8.1up to date
 tokio^1.49.01.53.1up to date
 toml^0.9.111.1.3+spec-1.1.0out of date
 uname-rs^0.1.10.1.1up to date
 walkdir^2.5.02.5.0up to date
 liblzma^0.4.50.4.7up to date
 zar^0.2.00.2.0up to date
 zeroize^1.8.21.9.0up to date
 zip^6.0.08.6.0out of date
 zstd^0.13.30.13.3up to date

Dev dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 arbitrary^1.4.21.4.2up to date
 arbtest^0.3.20.3.2up to date
 gcollections^1.5.01.6.0up to date
 intervallum^1.4.41.4.4up to date
 pretty-hex^0.4.10.4.2up to date

Security Vulnerabilities

tar: `unpack_in` can chmod arbitrary directories by following symlinks

RUSTSEC-2026-0067

In versions 0.4.44 and below of tar-rs, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root.

This issue has been fixed in version 0.4.45.

tar: tar-rs incorrectly ignores PAX size headers if header size is nonzero

RUSTSEC-2026-0068

Versions 0.4.44 and below of tar-rs have conditional logic that skips the PAX size header in cases where the base header size is nonzero.

As part of CVE-2025-62518, the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. This is almost the inverse of the astral-tokio-tar issue.

Any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust tar) crate is an outlier in checking for the header size — other tar parsers (including e.g. Go archive/tar) unconditionally use the PAX size override. This can affect anything that uses the tar crate to parse archives and expects to have a consistent view with other parsers.

This issue has been fixed in version 0.4.45.

quick-xml: Quadratic run time when checking a start tag for duplicate attribute names

RUSTSEC-2026-0194

BytesStart::attributes() returns an Attributes iterator which, by default (with_checks(true)), rejects a start tag that repeats an attribute name. For each attribute yielded, the iterator compared the new name against every name seen so far in the same tag using a linear scan, so a start tag with N distinct attribute names cost O(N²) byte comparisons. There was no bound on N other than the size of the buffered start tag.

Impact

Any code that parses untrusted XML and iterates a start tag's attributes with the default duplicate check enabled can be made to spend CPU time quadratic in the number of attributes on a single tag. Because the check is pure computation with no .await/I/O, an I/O-based timeout on the consumer (for example a read or request timeout) cannot interrupt it while it runs.

Measured cost of a single start tag, release build:

| Attributes on one tag | Time | |---|---| | 80,000 | ~6 s | | 800,000 | ~10 min |

The cost grows with the square of the attribute count, so a start tag of a few tens of megabytes can stall a parsing thread for hours. No memory is exhausted and the parser does not crash; the effect is CPU exhaustion on the thread doing the parsing: a single crafted start tag can pin a CPU core for minutes to hours, denying service to that worker. A deployment that places a wall-clock bound on parsing, or confines it to a non-critical thread, may consider the availability impact lower.

Affected code paths

  • BytesStart::attributes() / Attributes iterated with checks enabled (the default), and BytesStart::try_get_attribute.
  • NsReader, which resolves namespaces by iterating a tag's attributes and so reaches the same check internally.

Consumers that iterate attributes with .attributes().with_checks(false) and do not use NsReader are not affected.

This was reported as reachable by a remote, unauthenticated attacker in a real-world RPKI relying party (NLnet Labs Routinator) via a crafted RRDP snapshot.xml.

Remediation

Upgrade to quick-xml >= 0.41.0, where the duplicate check keeps the linear scan for start tags with a small number of attributes and switches to an O(1) hash pre-filter above a threshold, making the whole tag O(N). The reported AttrError::Duplicated positions are unchanged.

If upgrading is not possible and duplicate-name detection is not required, disable it with .attributes().with_checks(false) (this does not help NsReader consumers, which have no equivalent opt-out before 0.41.0).

quick-xml: Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service

RUSTSEC-2026-0195

NsReader resolves namespaces by calling NamespaceResolver::push for every Start/Empty event before the event is returned to the caller. push iterated all xmlns / xmlns:* attributes on the start tag and, for each one, appended the prefix bytes to an internal buffer and pushed a NamespaceBinding (32 bytes on 64-bit) to an internal Vec, with no upper bound on the number of declarations.

Impact

A start tag with N namespace declarations drove roughly the tag's byte size in NamespaceResolver heap, allocated inside quick-xml before the NsReader consumer ever received the event and could inspect or reject it. A consumer that bounds its input size therefore still cannot bound this allocation: an M-byte start tag yields on the order of 3 × M bytes of resolver heap the caller never sees.

On untrusted XML this lets a remote, unauthenticated attacker force large heap allocations with a single start tag. With several NsReaders running concurrently on independent inputs (a common server pattern), the allocations stack and can exhaust process memory, causing the operating system to kill the process (OOM). This was confirmed against a real-world RPKI relying party (NLnet Labs Routinator), where concurrent RRDP validation workers parsing a crafted snapshot.xml exceeded the memory limit and the process was OOM-killed.

Affected code paths

Consumers using NsReader (which always calls NamespaceResolver::push before yielding Start/Empty), or calling NamespaceResolver::push directly. A plain Reader that does not perform namespace resolution is not affected.

Remediation

Upgrade to quick-xml >= 0.41.0. NamespaceResolver::push now rejects a start tag that declares more than DEFAULT_MAX_DECLARATIONS_PER_ELEMENT (256) namespace bindings, returning the new NamespaceError::TooManyDeclarations instead of allocating without limit. The limit is configurable via NamespaceResolver::set_max_declarations_per_element (use usize::MAX to restore the previous unbounded behavior), and NsReader::resolver_mut() is provided to reach it.

There is no clean workaround for NsReader consumers before 0.41.0, as the allocation happens inside the reader with no configuration knob to cap it.