Refresh the dependency lockfile past the nostr advisories

The lockfile pinned nostr 0.44.3 and nostr-relay-pool 0.44.1, both yanked
and both carrying advisories that reach this code. The relay-pool ones are
the reason this is worth doing promptly: RUSTSEC-2026-0224 and -0232 are a
verification-cache bypass and the processing of unverified relay events,
and the path they land on is how a node learns peer adverts, which it
consumes without verifying anything itself. RUSTSEC-2026-0231 sits on the
same path, and -0216 and -0227 reach NIP-44 decryption of relay-supplied
content. The other advisories in the set cover APIs this code never calls.

nostr moves to 0.44.8 and nostr-relay-pool to 0.44.3. Both fixed floors are
inside 0.44, so the existing requirements already admitted them and nothing
in the source changed. The refresh is taken over the whole lockfile rather
than the two crates alone, because a targeted bump leaves RUSTSEC-2026-0204
in crossbeam-epoch open and four yanked crates in the tree for no gain.

cargo audit reports no vulnerability now, against twelve before. The four
remaining warnings cannot be closed by a version move: instant and paste are
unmaintained, lru 0.16.4 is unsound, and nostr-relay-pool is itself marked
unmaintained as of RUSTSEC-2026-0243, which the dependency strategy needs to
answer separately.
This commit is contained in:
Johnathan Corgan
2026-08-11 12:53:31 +00:00
parent ecda392501
commit 54a794c215
2 changed files with 407 additions and 485 deletions
+22
View File
@@ -215,6 +215,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
learns the true point. The two rejections are counted separately in the
session reject statistics.
- The dependency lockfile is refreshed past a set of advisories against the
pinned `nostr` 0.44.3 and `nostr-relay-pool` 0.44.1, both of which were also
yanked. `nostr` moves to 0.44.8 and `nostr-relay-pool` to 0.44.3; the
requirements in `Cargo.toml` already admitted both, so this is a lockfile
change and no code changed with it. The advisories that matter here are the
relay-pool ones, RUSTSEC-2026-0224 and RUSTSEC-2026-0232, which describe
forged events bypassing signature validation and unverified relay events
being processed: that is the path this node learns peer adverts on, and it
performs no independent verification of its own, so the exposure was a
misattributed advert rather than the denial of service the advisory summaries
lead with. RUSTSEC-2026-0231 (auth-challenge memory exhaustion) is on the
same path, and RUSTSEC-2026-0216 and RUSTSEC-2026-0227 reach the NIP-44
decryption of relay-supplied content. The remaining advisories in that set
cover NIP-04, NIP-46, NIP-50, NIP-60, NIP-98 and the wallet parsers, none of
which this code calls. The refresh was taken over the whole lockfile rather
than the two crates alone, which additionally clears RUSTSEC-2026-0204 in
`crossbeam-epoch` and leaves no yanked crate in the tree; `cargo audit` now
reports no vulnerability, against twelve before. Four warnings remain and are
not fixable by a version move: `instant` and `paste` are unmaintained, `lru`
0.16.4 carries an unsoundness advisory, and `nostr-relay-pool` itself is now
marked unmaintained.
## [0.4.1] - 2026-07-19
### Changed
Generated
+385 -485
View File
File diff suppressed because it is too large Load Diff