fix: do not download and execute binaries via HTTP (#14914)
This fixes a couple of trivial remote code execution opportunities.
This commit is contained in:
@ -507,7 +507,7 @@ prepareDeploy() {
|
||||
if [[ -n $releaseChannel ]]; then
|
||||
echo "Downloading release from channel: $releaseChannel"
|
||||
rm -f "$SOLANA_ROOT"/solana-release.tar.bz2
|
||||
declare updateDownloadUrl=http://release.solana.com/"$releaseChannel"/solana-release-x86_64-unknown-linux-gnu.tar.bz2
|
||||
declare updateDownloadUrl=https://release.solana.com/"$releaseChannel"/solana-release-x86_64-unknown-linux-gnu.tar.bz2
|
||||
(
|
||||
set -x
|
||||
curl -L -I "$updateDownloadUrl"
|
||||
|
Reference in New Issue
Block a user