Skip to content

[v15] Quote user supplied inputs provided to scripts to avoid RCE#39837

Merged
jentfoo merged 3 commits intobranch/v15from
bot/backport-39644-branch/v15
Mar 26, 2024
Merged

[v15] Quote user supplied inputs provided to scripts to avoid RCE#39837
jentfoo merged 3 commits intobranch/v15from
bot/backport-39644-branch/v15

Conversation

@jentfoo
Copy link
Copy Markdown
Contributor

@jentfoo jentfoo commented Mar 26, 2024

Backport #39644 to branch/v15

changelog: Fix for possible phishing links which could result in code execution with install and join scripts

jentfoo added 3 commits March 26, 2024 15:06
This change introduces the func `utils.UnixShellQuote` which will quote any inputs which could potentially allow execution or script escape.
This is utilized to ensure that scripts produced from a potential Phishing link could not contain code execution which may expose a user.
…rameters are extracted

This will increase safety moving forward, but it requires a more conservative quoting strategy.
@jentfoo jentfoo added this pull request to the merge queue Mar 26, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 26, 2024
@jentfoo jentfoo added this pull request to the merge queue Mar 26, 2024
Merged via the queue into branch/v15 with commit 89a4da5 Mar 26, 2024
@jentfoo jentfoo deleted the bot/backport-39644-branch/v15 branch March 26, 2024 16:21
@tcsc tcsc mentioned this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants