Skip to content

fix(deps): resolve RUSTSEC-2026-0258 (h2) - #159

Merged
mlilien merged 1 commit into
omnect:mainfrom
mlilien:fix/rustsec-2026-0258-h2
Oct 15, 2026
Merged

mlilien merged 1 commit into
omnect:mainfrom
mlilien:fix/rustsec-2026-0258-h2

Conversation

@mlilien

@mlilien mlilien commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

cargo audit fails on RUSTSEC-2026-0258 (h2 unbounded empty DATA frames) for h2 0.3.27 and 0.4.15.

  • update h2 0.4.15 -> 0.4.20
  • drop h2 0.3.27 (no fixed 0.3 release) by disabling actix-web default features; the local OAuth callback server in src/auth.rs only needs macros (no HTTP/2, compression, cookies or websockets)
  • enable flate2 rust_backend explicitly, as it was previously only provided via actix-web's compress-gzip feature
  • bump version to 0.28.3

cargo audit and cargo test pass locally; the interactive omnect-cli login flow has not been tested manually yet.

- update h2 0.4.15 -> 0.4.20
- drop h2 0.3.27 (no fixed release) by disabling actix-web default
  features; the local OAuth callback server only needs "macros"
- enable flate2 "rust_backend" explicitly, previously pulled in only
  via actix-web's compress-gzip feature
- bump version to 0.28.3

Signed-off-by: Marcel Lilienthal <134974+mlilien@users.noreply.github.com>
@mlilien
mlilien requested a review from JanZachmann October 14, 2026 14:40
@JanZachmann

Copy link
Copy Markdown
Contributor

@mlilien I guess you want to rephrase the PR description.

@JanZachmann JanZachmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread Cargo.lock
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
"windows-sys 0.61.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this downgrade intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it's done by the rust tooling handling dependencies itself.

Comment thread Cargo.lock
"libc",
"percent-encoding",
"pin-project-lite",
"socket2 0.6.4",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this downgrade intentional?

Comment thread Cargo.lock
"errno",
"libc",
"linux-raw-sys",
"windows-sys 0.61.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this downgrade intentional?

Comment thread Cargo.lock
"getrandom 0.4.2",
"once_cell",
"rustix",
"windows-sys 0.61.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this downgrade intentional?

@mlilien
mlilien merged commit 41293b4 into omnect:main Oct 15, 2026
6 checks passed
@mlilien
mlilien deleted the fix/rustsec-2026-0258-h2 branch October 15, 2026 06:15
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.

3 participants