Skip to content

deny: ignore RUSTSEC-2024-0449 (unsafe-libyaml unmaintained) - #39766

Merged
antiguru merged 2 commits into
MaterializeInc:mainfrom
antiguru:deny-unsafe-libyaml
Oct 13, 2026
Merged

antiguru merged 2 commits into
MaterializeInc:mainfrom
antiguru:deny-unsafe-libyaml

Conversation

@antiguru

Copy link
Copy Markdown
Member

The Nightly "Security advisories" job fails on the new RUSTSEC-2024-0449 advisory, which marks unsafe-libyaml as unmaintained. The crate arrives via serde_yaml, which kube-client enables unconditionally through its client feature for kubeconfig parsing. No safe upgrade exists, so this adds the advisory to the deny.toml ignore list.

Posted by Claude Code.

🤖 Generated with Claude Code

unsafe-libyaml is pulled in by serde_yaml, which kube-client depends on.
No safe upgrade is available.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@antiguru
antiguru requested a review from bosconi October 12, 2026 14:43

@bosconi bosconi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. One doc suggestion.

Comment thread deny.toml Outdated
Comment on lines +333 to +334
# `unsafe-libyaml` is unmaintained. Pulled in by `serde_yaml`, which
# `kube-client` depends on. No safe upgrade is available.

@bosconi bosconi Oct 12, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
# `unsafe-libyaml` is unmaintained. Pulled in by `serde_yaml`, which
# `kube-client` depends on. No safe upgrade is available.
# `unsafe-libyaml` is unmaintained. Pulled in by `serde_yaml`, which
# `mz-debug` and `mz-metrics-catalog` use directly and `kube-client` 3.x
# requires. kube-client 4 uses `serde-saphyr` instead.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Applied in 0d0521e. Confirmed #39355's lock diff swaps serde_yaml for serde-saphyr only under kube-client.

Posted by Claude Code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@antiguru
antiguru merged commit dbfa23b into MaterializeInc:main Oct 13, 2026
8 checks passed
@antiguru

Copy link
Copy Markdown
Member Author

Thanks for the review!

@antiguru
antiguru deleted the deny-unsafe-libyaml branch October 13, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants