Supply-chain follow-ups¶
Situation¶
While landing deterministic supply-chain scanners (see
PLAN-supply-chain-scanning.md) the initial cargo deny
check run against develop surfaced a set of advisories
and unmaintained crates. Two were fixable in-place and
were folded into the scanners PR:
RUSTSEC-2026-0098+RUSTSEC-2026-0099— rustls-webpki 0.103.10 name-constraint bypass vulnerabilities. Resolved bycargo update -p rustls-webpkito 0.103.12.
Since then, further resolved:
RUSTSEC-2025-0008— openh264-sys2 heap overflow. Resolved when the tree moved to openh264-sys2 0.9.6 (fix was in=0.8.0); the stale ignore was removed in July 2026.
RUSTSEC-2026-0097— rand unsound with a custom logger. Resolved when the tree moved to rand 0.8.8 (fix was in=0.8.6).
RUSTSEC-2026-0150— audiopus_sys unmaintained. Resolved whenopus0.4.0 switched its sys crate fromaudiopus_systoopusic-sys, dropping the crate from the tree entirely.RUSTSEC-2026-0194+RUSTSEC-2026-0195— quick-xml DoS pair. Resolved whenwayland-scannerandzbus_xmlboth moved to quick-xml 0.41.0.
All four were removed from deny.toml and
.cargo/audit.toml in September 2026, after cargo deny
reported them as advisory-not-detected.
In November 2026 eight more ignore entries were removed
although nothing they covered had been fixed: six items, 1 and
4-8 below, with item 5 covering three advisory IDs.
Run with no ignores at all, neither scanner failed on any of
them, and the cargo audit and cargo deny lanes both
passed once they were gone (CI run 45772182263, where
cargo audit lists all eight as warnings). All are
unmaintained-status advisories against transitive
dependencies. As observed in November 2026, cargo-deny checks
unmaintained and unsound advisories only for the workspace's
direct dependencies by default; deny.toml now states that
scope explicitly (unmaintained and unsound), so it no
longer rests on a default. Both are real scope keys: the
cargo deny lane on the tree that set them (CI run
45789484154) reported no unknown-field diagnostic, and
widening both to "all" locally makes cargo-deny fail on the
tracked warnings below and on transitive unsound advisories
in heapless and lru. cargo-deny never reported the
eight and flagged each ignore as advisory-not-detected;
cargo audit reports them as warnings, which do not fail the
job. The ignores gated nothing, and their presence implied a
gate that did not exist. The debt itself is still real, so
those items stay below under Tracked warnings.
The remaining items are on the [advisories].ignore lists
with inline rationale so that the scanners pass against
develop: all three in deny.toml, and RUSTSEC-2023-0071 and
RUSTSEC-2026-0620 in .cargo/audit.toml, because cargo audit
does not fail on RUSTSEC-2025-0134 but does fail on the other
two. Each list holds only what its own scanner
fails on. Because cargo audit warns about RUSTSEC-2025-0134
without ignoring it, the weekly cron tracks it with an issue
too, as it does the tracked warnings below; an ignore entry
and an issue for the same advisory is expected, not a
double count. This plan
tracks the debt so we can pay it down.
Each ignore entry has a matching section below. When an ignore is resolved, delete the entry and the section here in the same PR. Before adding an ignore, confirm the scanner actually fails without it.
Item numbers are stable identifiers: deny.toml,
.cargo/audit.toml and other sections of this file cite them,
so an item keeps its number when it moves between sections,
and the sections are not in numeric order.
Tracked debt: ignored advisories¶
2. rsa 0.9.10 Marvin timing attack (RUSTSEC-2023-0071)¶
- Ignore rationale: no fixed version is available in the ecosystem. The RustSec advisory has been open since
- The attack requires timing observation of RSA operations performed by the ryll client; the attacker would need to be on the same machine or have a high-precision network timing side-channel.
- Attack surface: whatever uses
rsain our tree — likely TLS key operations or SPICE ticket decryption. Needs confirmation viacargo tree -i rsa. - Action plan:
- Identify direct dependents via
cargo tree -i rsa. - Check whether our usage performs RSA operations on attacker-observable timing (SPICE ticket decrypt is a plausible candidate).
- If yes, consider constant-time RSA alternatives
(
rustls's crypto provider,boring-rs, etc.) or switch the SPICE auth path to a non-RSA scheme. - Track the
rsacrate for a fix — subscribe to the RustSec advisory or thersacrate releases. - Remove ignore when: a patched
rsaversion ships, or we migrate off thersacrate.
3. rustls-pemfile 2.2.0 unmaintained (RUSTSEC-2025-0134)¶
- Ignore rationale: the repository was archived in
August 2025. Functionality has been incorporated into
rustls-pki-types >= 1.9.0via thePemObjecttrait. The latestrustls-pemfileis effectively a re-export shim. Migration is a code change in whatever uses it. - Attack surface: PEM parsing surface for our TLS setup. No known exploit — the advisory is unmaintained-status, not a vulnerability.
- Action plan:
cargo tree -i rustls-pemfileto find our usage.- Migrate our TLS setup to
rustls-pki-typesPemObjectAPIs. This may be a direct code change in ryll or may need to wait for an upstream dep to migrate. - Drop
rustls-pemfilefromCargo.toml. - Remove ignore when:
rustls-pemfileno longer appears incargo tree.
9. curve25519-dalek 5.0.0-rc.1 AVX-512 scalar multiplication bug (RUSTSEC-2026-0620)¶
- Ignore rationale: the affected code cannot run in our
builds, and no upgrade can reach the fix. The advisory
(published 29 November 2026, announced in
dalek-cryptography/curve25519-dalek#934) covers every
version from 1.1.0 to 5.0.0 inclusive, but only the
AVX-512 backend computes incorrectly;
serial,fiatandsimd(AVX2) are all correct. For the 4.2.0-5.0.0-rc.1 band that holds our version, that backend is reachable only when the crate is compiled with--cfg curve25519_dalek_backend="unstable_avx512"on a nightly toolchain. Nothing in the tree sets that cfg (there is no.cargo/config.toml, and no workflow sets aRUSTFLAGSnaming it), and every shipped build takesdtolnay/rust-toolchain@stable, on which the backend cannot be selected at all. "Do not set [the cfg]. Or compile on stable" is the advisory's own workaround for this band, and it is already what we do. - Why not simply upgrade:
curve25519-dalek5.1.0 is the first release outside the affected range, but nothing in our tree can move to it. It arrives throughironrdp-connector0.10.0, which requirespicky = "=7.0.0-rc.25"andsspi = "^0.21";picky7.0.0-rc.25 andsspi0.21.3 each requirecurve25519-dalek = "=5.0.0-rc.1"exactly, which is why cargo-deny reports "2 dependents have version requirements that preclude updating".ironrdp-server0.13.0 is already the newest release and pullsironrdp-acceptor/-async^0.10, so there is no ironrdp bump to take either. A[patch]entry cannot help: an exact=5.0.0-rc.1requirement is unsatisfiable by 5.1.0. The ecosystem below ironrdp is, however, already ready --picky7.0.0-rc.29 dropped its directcurve25519-dalekdependency and takesed25519-dalek/x25519-dalek^3, anded25519-dalek3.0.0 takescurve25519-dalek ^5.0.0, which resolves to 5.1.0. Only ironrdp's own pin is holding us on rc.25. - Attack surface: none in a shipped artefact. The crate
reaches us only via
ironrdp-connector->picky/sspi, which arrive throughshakenfist-spice-rdpbehind the default-offrdpfeature (the same path as item 6), so release builds do not contain it. Were the backend somehow enabled, the impact would be an incorrect Edwards or Ristretto scalar multiplication on an attacker-chosen point. The x-only multiplicationx25519-dalekuses is explicitly unaffected, and fored25519-dalekthe worst case the advisory names is a valid signature under an attacker-chosen public key reading as invalid -- a false negative, not a forgery. - Action plan:
- Track the ironrdp stack for a release whose
ironrdp-connectormoves offpicky =7.0.0-rc.25onto rc.27 or later. Renovate opens ironrdp bumps for us; re-checkcargo tree -i curve25519-dalekon each. - If a shipped build ever moves to a nightly toolchain,
confirm
curve25519_dalek_backendis still unset before relying on this entry. - Remove ignore when: the tree carries a
curve25519-dalekoutside the 1.1.0-5.0.0 affected range, which in practice means after an ironrdp bump.
Tracked warnings: unmaintained transitive dependencies¶
These advisories fail neither scanner, so they carry no
ignore: cargo audit lists them as warnings on every run, and
cargo-deny does not check them at all. They are tracked here
because each is still debt worth paying down. Each is also
tracked by a GitHub issue that the weekly Supply chain
cron's rustsec/audit-check files for any warning no issue or
pull request title names yet; this section keeps the
reasoning, the issue the status. Leave the issue open until
the crate leaves cargo tree. If one turns
into a vulnerability advisory, or the crate becomes a direct
dependency, the scanners will fail and it moves back up to
the ignored list (or, better, gets fixed).
1. paste 1.0.15 unmaintained (RUSTSEC-2024-0436)¶
- Rationale: the author archived the crate but
did not publish a fix or a CVE. A drop-in fork (
pastey) exists with the same API.pastereaches us transitively. - Attack surface: none direct; it is a proc-macro for identifier pasting used at compile time. The risk is only that it no longer receives bug fixes.
- Action plan:
cargo tree -i pasteto find direct dependents.- For each direct dependent we control, swap to
pasteyif they accept the patch, or vendor-patch. - For upstream dependents we don't control, wait for their migration. Re-check every 6 months.
- Resolved when:
pasteno longer appears incargo tree, or the RustSec advisory is withdrawn.
4. ttf-parser 0.25.1 unmaintained (RUSTSEC-2026-0192)¶
- Rationale: the author has declared the crate
unmaintained and recommends
skrifa. It reaches us via egui's font stack (ab_glyph->owned_ttf_parser->ttf-parser), so there is nothing to change on our side until egui (or ab_glyph) migrates. - Attack surface: font parsing of the fonts we embed (epaint default fonts) plus any user-configured fonts. Unmaintained-status advisory, not a vulnerability; the concern is future parsing bugs going unfixed.
- Action plan:
- Track egui / ab_glyph for a migration to
skrifaor another maintained parser. - Re-check on each eframe upgrade (we already take these via renovate).
- Resolved when:
ttf-parserno longer appears incargo tree, or maintenance resumes upstream.
5. zvariant / zbus_names / zvariant_derive unmaintained (RUSTSEC-2026-0370, -0371, -0372)¶
- Rationale: upstream folded all three crates
into
zbus6.0.0 (as itszvariantandnamesmodules) and stopped maintaining them standalone. They reach us via eframe's Linux accessibility stack (egui-winit->accesskit_winit->accesskit_unix->atspi/zbus5.x), so there is nothing to change on our side until accesskit moves tozbus6. - Attack surface: D-Bus message (de)serialisation for the AT-SPI accessibility bus on Linux. Unmaintained-status advisories, not vulnerabilities.
- Action plan:
- Track accesskit / atspi for a migration to
zbus6. - Re-check on each eframe upgrade (we already take these via renovate).
- Resolved when:
zbus5.x (and with it these three crates) no longer appears incargo tree.
6. pin-utils 0.1.1 unmaintained (RUSTSEC-2026-0441)¶
- Rationale: the upstream repository was archived
on 1 October 2026 after the 0.1.1 release and there is no
successor crate, so no version bump can clear this one
(
cargo denysays so itself: "No safe upgrade is available!"). It reaches us by two transitive paths:shakenfist-spice-renderer'srtp0.17 dev-dependency ->webrtc-util0.17.2 ->nix0.26.4, andironrdp-connector->sspi->async-dnssd. Both scanners read the whole lockfile rather than a feature resolution, so feature-gating a path would not silence the warning even where we could. - Attack surface: none of substance.
pin-utilsis three pinning macros with no parsing, I/O or arithmetic; this is an unmaintained-status advisory, not a vulnerability. Its only widely used macro,pin_mut!, has a std replacement incore::pin::pin!(stable since Rust 1.68), so the crates that still carry it have a cheap way out when they get to it. Neither path reaches a shipped artefact either: the first is a dev-dependency used only bytests/webrtc_h264_smoke.rs, and the second arrives throughshakenfist-spice-rdpbehind the default-offrdpfeature, which release builds do not enable. That makes this a weaker risk than items 2 and 3, which are in the shipped TLS path. - Action plan:
- Move the renderer's
webrtc_h264_smokedev-dependency fromrtp0.17 ontortc::rtp, which the webrtc 0.20 port already pulls into the lockfile. That retires the first path along with a dead upstream line, and is already recorded in PLAN-webrtc-0.20-upgrade.md's Future work. - Track ironrdp / sspi for a release that drops
async-dnssd. Re-check on each ironrdp bump; renovate opens those for us. - Resolved when:
pin-utilsno longer appears incargo tree.
7. chrono 0.4.45 unmaintained (RUSTSEC-2026-0543)¶
- Rationale: the advisory (published 18 November
2026, announced in chronotope/chrono#1768) marks every
chronoversion unmaintained, andcargo denyreports "No safe upgrade is available!". ryll does not usechronodirectly; it arrives throughdav-server0.11, the RFC 4918 server behind WebDAV folder sharing, which bothryllandshakenfist-spice-rendererdepend on. The latestdav-server(0.12.0, 9 November 2026) still requireschrono ^0.4.44, so bumpingdav-serverdoes not help. - Attack surface: this is in the shipped path: the
renderer's
webdavfeature is default-on.dav-serveruseschronoto format and parse WebDAV property and HTTP dates for the guest's requests against a directory the user chose to share. The advisory is about maintenance status, not a known vulnerability. The exposure is that a future bug in that date handling would get no upstream fix. - Action plan:
- Watch
dav-serverfor a release that moves tojiffortime(the advisory's recommended alternatives). Renovate opensdav-serverbumps for us; re-checkcargo tree -i chronoon each. - If upstream does not move, consider offering that
migration as a patch to
dav-server. - Resolved when:
chronono longer appears incargo tree.
8. humantime 2.4.0 unmaintained (RUSTSEC-2026-0542)¶
- Rationale: published with item 7. The advisory
says
humantimeis unmaintained becausechronois, and covers every version; there is no safe upgrade. It reaches us only throughconsole-subscriber0.5.0, the latest release, which needshumantime ^2.1.0unconditionally. - Attack surface: effectively none.
console-subscriberis enabled only by ryll's diagnostictokio-consolefeature (make build-tokio-console), which release builds leave out. The scanners still warn because they read the whole lockfile rather than a feature resolution. - Action plan: the
tokio-consolefeature is due to be removed when the K1 hang investigation closes (see the comment on the feature inryll/Cargo.toml); that removal retires this item. Failing that, aconsole-subscriberrelease that dropshumantime. - Resolved when:
humantimeno longer appears incargo tree.
Also tracked: duplicate-version warnings¶
cargo deny check currently reports ~45 duplicate-version
warnings (set to warn, not deny). Most are in the
Windows / Wayland / macOS backend ecosystems and come from
eframe pulling in multiple versions of the same
platform-integration crates. These are noise for now;
tightening multiple-versions from warn to deny is a
later goal once we understand the baseline.
No individual action item for this — review the list quarterly and pick off easy wins (e.g. crates where upgrading one direct dep resolves the duplicate).
Accepted risk: the rtc 0.20.x transport stack¶
Recorded here so the acceptance lives with the scanning policy rather than only in the plan that caused it.
The webrtc-rs 0.20 port
(phase 02 plan)
replaced dtls, webrtc-srtp, webrtc-sctp, stun, turn
and webrtc-ice 0.17.2 with the rtc-* 0.20.2 family plus
sansio 1.0.1 — a sans-io reimplementation of the whole
DTLS/SRTP/SCTP/STUN transport, at a version released days
before it was adopted. That code parses untrusted network
input from any peer that can reach the bound UDP sockets,
which by design is every non-loopback address on the host,
and none of this repo's own parser hardening (BoundedReader,
the fuzz targets, the deterministic scanners) reaches a
vendored third-party stack.
Accepted rather than mitigated, and the reasoning is that the alternative is worse for the same threat: 0.17.x is an abandoned line that will never receive a security fix. Staying put means carrying known-unfixable transport code indefinitely.
What this costs us in scanner terms, all currently reported
rather than fatal because multiple-versions = "warn":
rtc-shared pulls in winapi 0.3 and bitflags 1.3.2, and
quinn-udp arrives at a duplicate major. No new
[advisories].ignore entries were needed in deny.toml and
.cargo/audit.toml needed no change — confirmed by the
cargo audit and cargo deny lanes both passing on the
ported tree (CI run 31910156843) rather than by inspection.
Action: treat rtc-* as a watch item on the weekly
cargo audit run. The first advisory against this family
should be triaged as though it were our own code, because in
practice it is the most exposed parser surface we ship.
Success criteria¶
This plan is complete when:
- All
[advisories].ignoreentries indeny.tomland.cargo/audit.tomlhave been removed. - Each corresponding section above has been deleted from this plan file.
- Every item under Tracked warnings has been resolved per its own Resolved when, and that section is empty.
cargo deny checkandcargo auditstill pass with no ignores in place.- Separately tracked: duplicate-version policy has been
tightened to
deny(not a gate for this plan, but the natural next step).
Future work¶
- Evaluate adding
cargo vetonce the current debt is cleared and we understand how noisy our baseline is. - Fail CI on an ignore that suppresses nothing. A stale
entry survives until someone notices by hand -- which is
how the September 2026 sweep found its four and the
November 2026 one its eight. cargo-deny already names them
as
advisory-not-detected; for.cargo/audit.toml, a run with the list emptied shows which IDs still fail. The lists deliberately differ (see Situation), so a set difference between them is not the right check. A fleet-wide version is being planned in shakenfist/development.