3 advisory ignore entries no longer match anything in `Cargo.lock`

Offen Anfängerfreundlich
#905 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Anfängerfreundlichkeit
85/100
Issue-Typ
Refactoring
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
security

Rechercherichtung

Öffne deny.toml und finde die ignore-Liste unter [advisories]; die drei zu löschenden IDs sind RUSTSEC-2026-0097, RUSTSEC-2024-0436 und RUSTSEC-2026-0173. Bestätige anhand von Cargo.lock, dass rand auf oder über den gepatchten Versionen liegt und dass paste und proc-macro-error2 fehlen, und führe dann cargo deny check advisories aus, um zu sehen, dass die Warnungen zu advisory-not-detected verschwinden. Erledigt bedeutet, dass die Einträge weg sind und die Prüfung sauber durchläuft.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Hi, and thanks for maintaining this project.

deny.toml still ignores the advisories below. Cargo.lock on the default branch either already holds a patched version of the affected crate or no longer contains the crate, so the entries no longer suppress anything and can be removed.

Advisory Summary In Cargo.lock now Patched in Severity
RUSTSEC-2026-0097 Rand is unsound with a custom logger using rand::rng() rand 0.10.3, 0.9.5 0.8.6, 0.9.3, 0.10.1 low
RUSTSEC-2024-0436 paste - no longer maintained paste: not present – unmaintained
RUSTSEC-2026-0173 proc-macro-error2 is unmaintained proc-macro-error2: not present – unmaintained

What we checked on 2026-11-21, on the default branch at commit e1ef9e4ed83b, by reading public files only:

  • Each id is on an active (non-comment) line of the file.
  • For each advisory, no version of the affected crate in Cargo.lock is inside its affected range.

Why it is worth removing: an ignore entry keeps muting the advisory id for as long as it stays in the file. If the crate were later pinned back to an affected version or came back into the lock file, cargo-deny would stay silent about it.

For cargo-deny, such entries show up as advisory-not-detected warnings. Setting unused-ignored-advisory = "deny" under [advisories] turns them into errors, so an entry cannot outlive the lock file it was written for.

Disclosure: the check and this text were produced with automated tooling, including an LLM. The repository files were re-read from the default branch on 2026-11-21.

Feel free to close this if it is not useful.

Vorherrschende Sprache
Rust
Sterne
12
Forks
1
Ø Merge
16 Std. 22 Min.
Gemergte PRs (30 T.)
13

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus stackabletech/druid-operator

Alle Issues in stackabletech/druid-operator

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.