Skip to content

Commit 7af00cf

Browse files
committed
chore(deps): bump golang.org/x/crypto from 0.40.0 to 0.45.0
- Bumps golang.org/x/crypto from 0.40.0 to 0.45.0. - Bumps github.com/hashicorp/packer-plugin-sdk from 0.6.0 to 0.6.4. - Requires a bump of Go to 1.24.0 or later; using latest 1.24.10. - Applies fix to "non-constant format string" in Go 1.24.x. Ref: - CVE-2025-58181 - CVE-2025-47914 Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
1 parent d198c80 commit 7af00cf

File tree

10 files changed

+127
-70
lines changed

10 files changed

+127
-70
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.23.12
1+
1.24.10

.web-docs/components/builder/vsphere-clone/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,9 +1364,13 @@ boot time.
13641364
useful if, for example, packer hangs on a connection after a reboot.
13651365
Example: `5m`. Disabled by default.
13661366

1367-
- `ssh_remote_tunnels` ([]string) -
1367+
- `ssh_remote_tunnels` ([]string) - Remote tunnels forward a port from your local machine to the instance.
1368+
Format: ["REMOTE_PORT:LOCAL_HOST:LOCAL_PORT"]
1369+
Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
13681370

1369-
- `ssh_local_tunnels` ([]string) -
1371+
- `ssh_local_tunnels` ([]string) - Local tunnels forward a port from the instance to your local machine.
1372+
Format: ["LOCAL_PORT:REMOTE_HOST:REMOTE_PORT"]
1373+
Example: "8080:localhost:3000" allows the instance to access your local machine’s port 3000 via localhost:8080.
13701374

13711375
<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->
13721376

.web-docs/components/builder/vsphere-iso/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,9 +1275,13 @@ JSON Example:
12751275
useful if, for example, packer hangs on a connection after a reboot.
12761276
Example: `5m`. Disabled by default.
12771277

1278-
- `ssh_remote_tunnels` ([]string) -
1278+
- `ssh_remote_tunnels` ([]string) - Remote tunnels forward a port from your local machine to the instance.
1279+
Format: ["REMOTE_PORT:LOCAL_HOST:LOCAL_PORT"]
1280+
Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
12791281

1280-
- `ssh_local_tunnels` ([]string) -
1282+
- `ssh_local_tunnels` ([]string) - Local tunnels forward a port from the instance to your local machine.
1283+
Format: ["LOCAL_PORT:REMOTE_HOST:REMOTE_PORT"]
1284+
Example: "8080:localhost:3000" allows the instance to access your local machine’s port 3000 via localhost:8080.
12811285

12821286
<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->
12831287

.web-docs/components/builder/vsphere-supervisor/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,13 @@ items are listed below as well as the _optional_ configurations.
316316
useful if, for example, packer hangs on a connection after a reboot.
317317
Example: `5m`. Disabled by default.
318318

319-
- `ssh_remote_tunnels` ([]string) -
319+
- `ssh_remote_tunnels` ([]string) - Remote tunnels forward a port from your local machine to the instance.
320+
Format: ["REMOTE_PORT:LOCAL_HOST:LOCAL_PORT"]
321+
Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
320322

321-
- `ssh_local_tunnels` ([]string) -
323+
- `ssh_local_tunnels` ([]string) - Local tunnels forward a port from the instance to your local machine.
324+
Format: ["LOCAL_PORT:REMOTE_HOST:REMOTE_PORT"]
325+
Example: "8080:localhost:3000" allows the instance to access your local machine’s port 3000 via localhost:8080.
322326

323327
<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->
324328

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Please refer to the documentation for each plugin to understand the specific cap
5757

5858
The plugin supports versions in accordance with the [Broadcom Product Lifecycle][product-lifecycle].
5959

60-
- [Go 1.23.12][golang-install]
60+
- [Go 1.24.10][golang-install]
6161

6262
Required if building the plugin.
6363

builder/vsphere/common/output_config.hcl2spec.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

builder/vsphere/common/step_export.hcl2spec.go

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

builder/vsphere/supervisor/step_import_image.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ func (s *StepImportImage) Cleanup(state multistep.StateBag) {
217217
if err := s.KubeWatchClient.Delete(ctx, importedImage); err != nil {
218218
logger.Error("error deleting the ContentLibraryItem object %s: %s", s.ImportItemResourceName, err)
219219
} else {
220-
logger.Info(fmt.Sprintf("Successfully deleted the ContentLibraryItem object %s in namespace %s.",
221-
s.ImportItemResourceName, s.Namespace))
220+
logger.Info("Successfully deleted the ContentLibraryItem object %s in namespace %s.",
221+
s.ImportItemResourceName, s.Namespace)
222222
}
223223
}
224224
}

go.mod

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module github.com/hashicorp/packer-plugin-vsphere
22

3-
go 1.23.12
3+
go 1.24.10
44

55
require (
66
github.com/google/go-cmp v0.7.0
77
github.com/google/uuid v1.6.0
88
github.com/hashicorp/hcl/v2 v2.24.0
9-
github.com/hashicorp/packer-plugin-sdk v0.6.0
9+
github.com/hashicorp/packer-plugin-sdk v0.6.4
1010
github.com/pkg/errors v0.9.1
1111
github.com/vmware-tanzu/image-registry-operator-api v0.0.0-20240422225856-ad6a4cd477e0
1212
github.com/vmware-tanzu/vm-operator/api v1.8.7-0.20250406160248-af0c660a6ede
@@ -25,14 +25,17 @@ require (
2525
cloud.google.com/go/compute/metadata v0.3.0 // indirect
2626
cloud.google.com/go/iam v1.1.4 // indirect
2727
cloud.google.com/go/storage v1.35.1 // indirect
28-
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c // indirect
28+
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
2929
github.com/ChrisTrenkamp/goxpath v0.0.0-20210404020558-97928f7e12b6 // indirect
30+
github.com/Microsoft/go-winio v0.6.2 // indirect
3031
github.com/agext/levenshtein v1.2.3 // indirect
3132
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
3233
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
3334
github.com/armon/go-metrics v0.4.1 // indirect
3435
github.com/aws/aws-sdk-go v1.44.114 // indirect
3536
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
37+
github.com/bodgit/ntlmssp v0.0.0-20240506230425-31973bb52d9b // indirect
38+
github.com/bodgit/windows v1.0.1 // indirect
3639
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
3740
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3841
github.com/dylanmei/iso8601 v0.1.0 // indirect
@@ -46,7 +49,7 @@ require (
4649
github.com/go-openapi/jsonreference v0.20.2 // indirect
4750
github.com/go-openapi/swag v0.22.4 // indirect
4851
github.com/gofrs/flock v0.8.1 // indirect
49-
github.com/gofrs/uuid v4.0.0+incompatible // indirect
52+
github.com/gofrs/uuid v4.4.0+incompatible // indirect
5053
github.com/gogo/protobuf v1.3.2 // indirect
5154
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
5255
github.com/golang/protobuf v1.5.4 // indirect
@@ -70,13 +73,20 @@ require (
7073
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect
7174
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
7275
github.com/hashicorp/go-sockaddr v1.0.7 // indirect
76+
github.com/hashicorp/go-uuid v1.0.3 // indirect
7377
github.com/hashicorp/go-version v1.6.0 // indirect
7478
github.com/hashicorp/golang-lru v0.5.4 // indirect
7579
github.com/hashicorp/hcl v1.0.0 // indirect
7680
github.com/hashicorp/serf v0.10.1 // indirect
7781
github.com/hashicorp/vault/api v1.14.0 // indirect
7882
github.com/hashicorp/yamux v0.1.1 // indirect
7983
github.com/imdario/mergo v0.3.12 // indirect
84+
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
85+
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
86+
github.com/jcmturner/gofork v1.7.6 // indirect
87+
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
88+
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
89+
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
8090
github.com/jehiah/go-strftime v0.0.0-20171201141054-1d33003b3869 // indirect
8191
github.com/jmespath/go-jmespath v0.4.0 // indirect
8292
github.com/josharian/intern v1.0.0 // indirect
@@ -85,7 +95,7 @@ require (
8595
github.com/kr/fs v0.1.0 // indirect
8696
github.com/mailru/easyjson v0.7.7 // indirect
8797
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
88-
github.com/masterzen/winrm v0.0.0-20210623064412-3b76017826b0 // indirect
98+
github.com/masterzen/winrm v0.0.0-20250927112105-5f8e6c707321 // indirect
8999
github.com/mattn/go-colorable v0.1.13 // indirect
90100
github.com/mattn/go-isatty v0.0.20 // indirect
91101
github.com/mitchellh/go-fs v0.0.0-20180402235330-b7b9ca407fff // indirect
@@ -104,23 +114,24 @@ require (
104114
github.com/pkg/sftp v1.13.2 // indirect
105115
github.com/ryanuber/go-glob v1.0.0 // indirect
106116
github.com/spf13/pflag v1.0.5 // indirect
117+
github.com/tidwall/transform v0.0.0-20201103190739-32f242e2dbde // indirect
107118
github.com/ugorji/go/codec v1.2.6 // indirect
108119
github.com/ulikunitz/xz v0.5.15 // indirect
109120
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
110121
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
111122
github.com/x448/float16 v0.8.4 // indirect
112123
go.opencensus.io v0.24.0 // indirect
113-
golang.org/x/crypto v0.40.0 // indirect
124+
golang.org/x/crypto v0.45.0 // indirect
114125
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
115-
golang.org/x/mod v0.26.0 // indirect
116-
golang.org/x/net v0.42.0 // indirect
126+
golang.org/x/mod v0.29.0 // indirect
127+
golang.org/x/net v0.47.0 // indirect
117128
golang.org/x/oauth2 v0.30.0 // indirect
118-
golang.org/x/sync v0.16.0 // indirect
119-
golang.org/x/sys v0.34.0 // indirect
120-
golang.org/x/term v0.33.0 // indirect
121-
golang.org/x/text v0.28.0 // indirect
122-
golang.org/x/time v0.3.0 // indirect
123-
golang.org/x/tools v0.35.0 // indirect
129+
golang.org/x/sync v0.18.0 // indirect
130+
golang.org/x/sys v0.38.0 // indirect
131+
golang.org/x/term v0.37.0 // indirect
132+
golang.org/x/text v0.31.0 // indirect
133+
golang.org/x/time v0.11.0 // indirect
134+
golang.org/x/tools v0.38.0 // indirect
124135
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
125136
google.golang.org/api v0.150.0 // indirect
126137
google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 // indirect

0 commit comments

Comments
 (0)