Skip to content

security: 1 CVE advisories in Cargo.lock (bridge triage, Track E) #18

Closed

Description

@hyperpolymath

panic-attack estate sweep — Track E bridge triage

panic-attack bridge triage (RustSec advisory DB, with reachability analysis) found 1 CVE/advisory findings in this repo's Cargo.lock (out of 507 total dependencies; 1 vulnerable).

Severity: medium: 1
Reachability: phantom: 1
Classification: informational: 1

Each finding includes a recommended action (often Remove unused dependency for phantom-imported crates). Reachability phantom = declared in Cargo.toml but never imported in any .rs file — removing the dep eliminates the CVE entirely with no behavioural change.

Estate tracker: hyperpolymath/panic-attack#32.

Findings

full advisory list
RUSTSEC-2023-0071  [email protected]  medium  reach=phantom  class=informational  fix=

🤖 Discovered during the panic-attack estate sweep (2026-05-26) — Track E (bridge triage). See hyperpolymath/panic-attack#32 for campaign tracker.

Activity

  1. hyperpolymath commented on May 27, 2026

    @hyperpolymath
    OwnerAuthor

    Phantom claim cannot be verified — skipping PR

    Track E phantom-strip fan-out (Batch A) attempted on this repo.

    Finding: [email protected] flagged reach=phantom (RUSTSEC-2023-0071, Marvin timing sidechannel).

    Verification result: rsa is NOT declared in this repo's Cargo.toml (grep -rn '^rsa *=' across root + fuzz/Cargo.toml returns 0 hits). It is a transitive dep, typically pulled in via sqlx-mysql or similar database/auth crates.

    This is the same misclassification pattern noted in the file-soup pilot (#50 PR body): the bridge classifier labels any crate not appearing in a use <crate> statement as phantom, but transitive deps used via parent-crate APIs aren't truly phantom.

    Disposition: Phantom-strip is not applicable. Closing this advisory requires bumping the parent crate (likely sqlx or mysql_async) or disabling features that pull rsa in. No PR filed.

    cc hyperpolymath/panic-attack#32 — bridge classifier may benefit from distinguishing declared-but-unused (true phantom, strippable) from transitive-only (not strippable from this repo).

  2. hyperpolymath commented on Jun 1, 2026

    @hyperpolymath
    OwnerAuthor

    Analysis: this is not a phantom dep

    Investigated for #46. Reverse-dep tree:

    ```
    rsa v0.9.10
    └── jsonwebtoken v10.x
    └── octocrab v0.49.x
    └── echidnabot
    ```

    rsa is reached via octocrab → jsonwebtoken for GitHub App JWT signing (RS256). It is not declared in Cargo.toml, so reach=phantom is a panic-attack classifier mis-label.

    CVE not reachable

    RUSTSEC-2023-0071 is the Marvin Attack — a timing side-channel on PKCS#1 v1.5 decryption. echidnabot only signs JWTs (never decrypts), so the vulnerable code path is unreachable.

    What #46 does

    #46 trims sqlx's default features (drops sqlx-mysql from the active graph). This is hygiene — the sqlx-mysql → rsa edge in the lock was metadata for an inactive feature; never compiled. The rsa crate itself remains in the binary via the octocrab path above.

    Recommended closure

    After #46 merges, close this issue with: "RUSTSEC-2023-0071 not reachable (signing-only); rsa required transitively for octocrab GitHub App auth; mis-classified as phantom by panic-attack."

    Also worth filing at panic-attack: reach=phantom should require Cargo.toml declaration, not just lock-file presence of an optional/inactive feature's dep.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions