chore(deps): update rust crate webbrowser to v1.2.2 [security] - #14
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update rust crate webbrowser to v1.2.2 [security]#14renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.2.1→1.2.2Unix
BROWSERhandling allows browser argument injectionGHSA-2ph8-5cr8-hr33 / RUSTSEC-2026-0257
More information
Details
On Unix platforms handled by
src/unix.rs, affected versions substitute thecaller-supplied URL into the
BROWSERenvironment-variable template beforetokenizing the resulting string with
split_ascii_whitespace(). If anapplication passes an attacker-controlled non-HTTP(S) URL whose parsed form
retains spaces and the effective
BROWSERtemplate contains%s, text thatshould remain within one URL argument becomes additional browser arguments.
The issue was reproduced with Chromium by injecting
--remote-debugging-port, which exposed a local DevTools endpoint, and--proxy-server, which redirected browser traffic through anattacker-controlled proxy. The available arguments and resulting impact depend
on the browser launched by the affected application.
Version 1.2.2 fixes the issue by tokenizing the
BROWSERtemplate beforesubstituting the URL, preserving the URL as part of a single argument. Users
should upgrade to version 1.2.2 or later. Applications that only need HTTP(S)
URLs can also enable the crate's
hardenedfeature as defense in depth.This issue was reported by
@dywzju09-blip.
Severity
Unknown
References
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Release Notes
amodm/webbrowser-rs (webbrowser)
v1.2.2Compare Source
Fixed
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.