Skip to content

fix(deps): resolve rust dependabot advisories (openssl, libyml)#1742

Merged
fengmk2 merged 3 commits into
mainfrom
fix/dependabot-rust-advisories
Jun 2, 2026
Merged

fix(deps): resolve rust dependabot advisories (openssl, libyml)#1742
fengmk2 merged 3 commits into
mainfrom
fix/dependabot-rust-advisories

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Jun 2, 2026

Resolves the open Rust Dependabot advisories in Cargo.lock, as two independent commits.

openssl 0.10.80

Bumps the transitive rust-openssl crate (pulled via native-tls/reqwest), resolving:

Lockfile-only change: openssl 0.10.76 to 0.10.80, openssl-sys 0.9.112 to 0.9.116.

Drop serde_yml to remove unmaintained libyml

libyml (GHSA-gfxp-f68g-8x78) has no patched version; it is unmaintained and flagged as unsound. It reached the tree only through serde_yml, which here was dead code: a single unused error variant SerdeYml(#[from] serde_yml::Error) in vite_error, with no YAML parsing anywhere in the workspace. Removing the variant and the serde_yml dependency drops both serde_yml and libyml from the tree.

Validation

  • cargo check --workspace --locked compiles.
  • serde_yml and libyml no longer appear in Cargo.lock; openssl is 0.10.80.

Note

Low Risk
Dependency-only changes with no runtime logic changes; removing an unused error variant is unlikely to affect behavior.

Overview
Addresses Dependabot Rust advisories with lockfile OpenSSL upgrades and removal of unused YAML crates.

OpenSSL: Cargo.lock bumps transitive openssl (0.10.76 → 0.10.80) and openssl-sys (0.9.112 → 0.9.116), including dropping the once_cell dependency on the openssl crate entry—typical of the patched release pulled in via reqwest / native TLS.

libyml / serde_yml: Removes workspace serde_yml and the vite_error dependency, plus the unused SerdeYml thiserror variant. That prunes serde_yml and unmaintained libyml from the dependency tree; YAML elsewhere still uses serde_yaml in the workspace.

Reviewed by Cursor Bugbot for commit f1ddea6. Configure here.

fengmk2 added 2 commits June 2, 2026 11:35
Resolves the open dependabot advisories on the rust-openssl crate
(GHSA-xp3w-r5p5-63rr, GHSA-pqf5-4pqq-29f5, GHSA-8c75-8mhr-p7r9,
GHSA-ghm9-cr32-g9qj, GHSA-hppc-g8h3-xhp3). openssl is pulled
transitively via native-tls/reqwest.
libyml (GHSA-gfxp-f68g-8x78) has no patched version; it is unmaintained
and flagged as unsound. It was pulled only through serde_yml, which in
this repo was dead code: a single unused error variant
SerdeYml(#[from] serde_yml::Error) in vite_error with no YAML parsing
anywhere. Remove the variant and the serde_yml dependency, which drops
serde_yml and libyml from the tree entirely.
@fengmk2 fengmk2 self-assigned this Jun 2, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 2, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit a5b0666
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a1e6d0b77e75f000832ba0c

fengmk2 added a commit that referenced this pull request Jun 2, 2026
The openssl bump and the serde_yml/libyml removal now live in their own
PR (#1742); revert them here so this PR carries only the npm override
fixes for the pnpm-lock manifests.
@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: create-e2e Run `vp create` e2e tests labels Jun 2, 2026
@fengmk2
Copy link
Copy Markdown
Member Author

fengmk2 commented Jun 2, 2026

@cursor review

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit f1ddea6. Configure here.

@fengmk2 fengmk2 requested review from Boshen and wan9chi June 2, 2026 05:41
@fengmk2 fengmk2 marked this pull request as ready for review June 2, 2026 05:41
@fengmk2 fengmk2 marked this pull request as draft June 2, 2026 05:45
@fengmk2 fengmk2 marked this pull request as ready for review June 2, 2026 05:51
@fengmk2 fengmk2 merged commit f754d21 into main Jun 2, 2026
92 checks passed
@fengmk2 fengmk2 deleted the fix/dependabot-rust-advisories branch June 2, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants