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

未关闭 适合新手
#898 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
82/100
Issue 类型
重构
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust
领域
security

调研方向

打开 deny.toml,找到 [advisories] 部分的忽略列表;三个 id RUSTSEC-2026-0097、RUSTSEC-2024-0436 和 RUSTSEC-2026-0173 位于那里的有效行上,并且是唯一要删除的行。对照 Cargo.lock 确认 rand 为 0.9.5/0.10.3,且 paste 和 proc-macro-error2 不存在,然后运行 cargo deny check advisories 以确认不再有 advisory-not-detected 警告。完成意味着这三个条目已消失,并且检查干净通过。

由索引模型根据 Issue 内容生成。

描述

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 b1168be2ed15, 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.

主要语言
Rust
星标
32
派生
6
平均合并
1 天 6 小时
30 天内合并 PR
12

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stackabletech/airflow-operator 的其他 Issue

查看 stackabletech/airflow-operator 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。