You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fresh RustSec data makes the required cargo audit gate fail on current main, blocking otherwise unrelated pull requests.
Reproduction
At main commit cd8109da579086447fa42285c6fef180a74d7b44, run the repository audit gate (equivalent to make audit after fetching the current RustSec advisory DB).
rustls-webpki 0.103.15 — RUSTSEC-2026-0382; fixed in 0.103.16
webpki-roots 1.0.7 — RUSTSEC-2026-0381; fixed in 1.0.10
webpki-root-certs 1.0.7 — RUSTSEC-2026-0383; fixed in 1.0.10
The gate reports four vulnerability instances and exits with status 2. Clippy and formatting pass before the audit step.
Expected
The lockfile should select patched, semver-compatible releases so cargo audit succeeds and the required static gate can complete.
Scope
The vulnerable packages are transitive and the patched releases retain compatible dependency requirements. A lockfile-only update appears sufficient; verification must include locked build/test and the full audit gate.
PR head 309c8ca:Static Checks run #39566600232success(2026-10-21T08:15:04Z 完成,make audit 输出为全绿,含 cargo audit 门禁)。
main @ b232c4a(修复合入后):Static Checks run #39614003110success(push 触发,14:07:05Z 启动,14:16:18Z 完成);Test Suite run #39614003031success(14:31:13Z 完成);后续 build_push_to_idcrun #39619070450 success。这些 run 由上游工作流以实时 RustSec advisory DB 执行,证明合入后的 main 在当前 advisory 数据下静态门禁完整通过——正是本 Issue 的 Expected 结果。
Resolved by merged PR #1104 (b232c4a), which updates the webpki dependencies for the reported RustSec advisories. The existing follow-up evidence records successful post-merge audit checks; no further implementation is needed for this report. Future advisory updates should be tracked separately.
Activity
MatrixAdventurer commentedon Oct 21, 2026
本轮回访结论:Issue 仍然成立,未发现重复修复 PR
1. 修复前失败状态复核(实测证据)
lintjob 第 13 步 “cargo audit (RustSec advisory DB)” conclusion = failure(2026-10-21T03:20:33Z);同 job 内 step 9(clippy)、step 10(rustfmt)、step 3–5(元数据 / workflows / CI contract 校验)全部 success——失败点唯一且正是本 Issue 所指门禁。main@cd8109da579086447fa42285c6fef180a74d7b44工作区实测:仓库共有 2 个Cargo.lock,仅根Cargo.lock(lockfile v4,8615 行)含受影响 crate,命中 4 个 package 块:rustls-webpki 0.103.15(约 L5766)→ Issue 给定 patched:0.103.16webpki-root-certs 1.0.7(约 L7816)→ Issue 给定 patched:1.0.10webpki-roots 0.26.11(约 L7825)webpki-roots 1.0.7(约 L7834)→ Issue 给定 patched:1.0.10.cargo/audit.toml已 ignore RUSTSEC-2023-0071(rsa)与 RUSTSEC-2026-0204(crossbeam-epoch),与本 Issue 的 4 个实例无关;修复应走 lockfile 升版本,不应通过新增 ignore 达标。$HOME/.cargo/advisory-db,随后make audit(≡cargo audit --no-fetch)。2. 一个需要复核的高价值疑点(本轮新发现)
CI 报 4 个 vulnerability 实例,而 Issue 给出的 patched 目标仅 3 处。本地 lockfile 中
webpki-roots出现两次(0.26.11与1.0.7),与“4 实例 vs 3 升级目标”的差额吻合;若 RUSTSEC-2026-0381 的受影响范围同时覆盖 0.26.x 线,则仅升1.0.7 → 1.0.10不足以转绿,还需确认 0.26 线的 corresponding patched 版本。本轮后段沙箱执行器被平台解除绑定,advisory 受影响范围的本地核对未完成——此点标记为待核实,落地时以cargo audit实际输出为准(若 0.26.11 未被报告则维持 3 处升级即可)。3. 修复范围与实施方式(复核通过)
Cargo.lock),预估 ±6 行内(version+ 对应新checksum更新),符合“每 PR ≤3 文件、±1000 行”约束。cargo update -p [email protected] --precise 0.103.16、cargo update -p [email protected] --precise 1.0.10、cargo update -p [email protected] --precise 1.0.10,随后跑make audit与静态门禁 workflow 复核。4. 本轮阻塞与未完成项(如实记录,未运行的测试不作通过声明)
create_pull_request仅能基于已有分支),故未建分支、未提交 PR。另记录:Astra 上游无dev分支,按仓库既有惯例修复 PR 目标应为main,本轮未擅自发起。make audit通过性复测未能产出,故本条仅声明第 1、2 节实测事实,不声明“修复后通过”。5. 交接
assignee 维持 @XuPeng-SH;后续修复 PR 请请求 @XuPeng-SH 审阅。下一轮接续优先级:核对第 2 节疑点 → 生成补丁 →
make audit本地绿 → 独立 review → 提 PR(推送凭据仍缺失则继续如实记录)。MatrixAdventurer commentedon Oct 21, 2026
本轮回访:修复已合入 main,全链路门禁已在 main 实测转绿,Issue 的预期结果已达成
1. 修复交付与合入状态(实测读回)
fix(deps): update webpki crates for RustSec advisories,分支fix/1103-rustsec-webpki)已于 2026-10-21T13:36:20Z 合入 main,merge commitb232c4a570daee85b96c195f6b4703cde9db8540,且当前 main HEAD 即为该提交(本轮实测,API 读回 commit 完整信息确认;后无更新 merge)。2. CI 实测(均为本轮直接读回)
309c8ca:Static Checks run #39566600232 success(2026-10-21T08:15:04Z 完成,make audit输出为全绿,含 cargo audit 门禁)。b232c4a(修复合入后):Static Checks run #39614003110 success(push 触发,14:07:05Z 启动,14:16:18Z 完成);Test Suite run #39614003031 success(14:31:13Z 完成);后续build_push_to_idcrun #39619070450 success。这些 run 由上游工作流以实时 RustSec advisory DB 执行,证明合入后的 main 在当前 advisory 数据下静态门禁完整通过——正是本 Issue 的 Expected 结果。cd8109d)的同类静态门禁在 audit 步骤确定性失败(证据见本 Issue 描述与本线程上一条评论),即修复前失败/修复后通过均满足实测证据。3. 上一条评论第 2 节待核实点的处理("4 个 vulnerability 实例 vs 3 个升级目标;webpki-roots 0.26.11 是否需同步升级")
.cargo/audit.toml仅 ignore RUSTSEC-2023-0071(rsa)与 RUSTSEC-2026-0204(crossbeam-epoch),无其它豁免。因此在当前 advisory 数据下,合入形态要么不覆盖 0.26.x 线(3 处升级已足够),要么 0.26 线引用已在309c8ca的"版本限定引用同步"中一并处理;两种情形的门禁结论均为绿,无需追加修复。诚实说明:本轮运行面无代码克隆/执行器绑定,未重读合并后Cargo.lock的逐行文本以区分上述两种情形;该区分对门禁结果无影响,对减依赖(若 0.26.11 已移除)才可能有意义,不作为本 Issue 的关闭依据,留 @XuPeng-SH 审阅时如需再核。4. 交付边界与后续(如实记录)
XuPeng-SH commentedon Oct 22, 2026
Resolved by merged PR #1104 (b232c4a), which updates the webpki dependencies for the reported RustSec advisories. The existing follow-up evidence records successful post-merge audit checks; no further implementation is needed for this report. Future advisory updates should be tracked separately.