Skip to content

ci: ignore rustls 0.23.45 advisories until 0.23.46 clears the release age policy - #4551

Merged
LuQQiu merged 1 commit into
lancedb:mainfrom
LuQQiu:lu/deny-ignore-rustls-advisories
Oct 15, 2026
Merged

LuQQiu merged 1 commit into
lancedb:mainfrom
LuQQiu:lu/deny-ignore-rustls-advisories

Conversation

@LuQQiu

@LuQQiu LuQQiu commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

The `deny` job fails on main and on every open PR (for example #4539) because RustSec published four advisories against rustls 0.23.45:

  • RUSTSEC-2026-0346: `Debug` impls for client session values expose TLS secrets
  • RUSTSEC-2026-0347: buffered application data sent to the outer server after ECH rejection
  • RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authentication
  • RUSTSEC-2026-0349: unauthenticated ServerHello can downgrade later connections to classical key exchange

All four are fixed in rustls 0.23.46, published 2026-10-14 09:54 UTC. The 48-hour dependency age policy does not allow that upgrade until 2026-10-16 09:54 UTC, so this mirrors lance-format/lance#9985 and ignores the four advisories with that reason. rustls reaches us only through lance-io -> aws-config -> aws-smithy-http-client.

It also ignores RUSTSEC-2024-0449 (`unsafe-libyaml` unmaintained), reached through lance-tokenizer -> lindera -> serde_yaml_ng. No maintained upgrade exists, so this one stays until lindera moves off serde_yaml_ng.

Follow-up once the window passes: drop the four rustls entries and run `cargo update -p rustls`.

Validation: `cargo deny --all-features check advisories bans licenses sources` (the CI invocation) passes locally with cargo-deny 0.20.2: `advisories ok, bans ok, licenses ok, sources ok`.

🤖 Generated with Claude Code

… age policy

RustSec published four advisories against rustls 0.23.45 (RUSTSEC-2026-0346
through 0349). The fix is rustls 0.23.46, published 2026-10-14, which the
48-hour dependency age policy does not allow yet, so the `deny` job fails on
main and on every open PR. Ignore the four advisories for now, mirroring
lance #9985, and ignore the unmaintained `unsafe-libyaml` advisory
(RUSTSEC-2024-0449) reached through lance-tokenizer -> lindera, for which
no maintained upgrade exists.

Follow-up once the window passes: remove the four rustls entries and run
`cargo update -p rustls`.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@github-actions github-actions Bot added the ci label Oct 15, 2026
@LuQQiu
LuQQiu marked this pull request as ready for review October 15, 2026 19:23

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@LuQQiu
LuQQiu merged commit ae59de2 into lancedb:main Oct 15, 2026
15 checks passed
LuQQiu added a commit that referenced this pull request Oct 19, 2026
…#4593)

`cargo deny` fails on `main` (e.g. [run
39153525802](https://github.com/lancedb/lancedb/actions/runs/39153525802))
and on #4590 with three new `zip 7.4.0` advisories:

- RUSTSEC-2026-0367, RUSTSEC-2026-0368, RUSTSEC-2026-0369 (SUID/SGID
bits, symlink targets and permissions applied through symlinks during
archive extraction), all patched only in `zip >= 9.0.0`.

`zip` is in the lock only through `candle-core` (optional
local-embedding feature). Every published candle release pins `zip < 9`
(0.9.x/0.10.x `^7.2`, 0.11.0 `^8.6`, git main 8.6), so neither `cargo
update -p zip` nor a candle bump clears it. LanceDB never extracts
archives; the crate is only linked.

Same approach as #4551 (rustls): ignore with the reason recorded in
`deny.toml`. `cargo deny check advisories` passes locally with this
change.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants