Skip to content

Commit 13fca41

Browse files
fix: update go-getter to v1.7.9 to address CVE-2025-8959
Update github.com/hashicorp/go-getter from v1.7.8 to v1.7.9 to fix a symlink attack vulnerability in the subdirectory download feature. Co-authored-by: Ona <no-reply@ona.com>
1 parent 7e12607 commit 13fca41

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ require (
219219
github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b // indirect
220220
github.com/hashicorp/errwrap v1.1.0 // indirect
221221
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
222-
github.com/hashicorp/go-getter v1.7.8 // indirect
222+
github.com/hashicorp/go-getter v1.7.9 // indirect
223223
github.com/hashicorp/go-multierror v1.1.1 // indirect
224224
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
225225
github.com/hashicorp/go-safetemp v1.0.0 // indirect
@@ -257,7 +257,6 @@ require (
257257
github.com/mholt/archives v0.1.0 // indirect
258258
github.com/mitchellh/copystructure v1.2.0 // indirect
259259
github.com/mitchellh/go-homedir v1.1.0 // indirect
260-
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
261260
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
262261
github.com/mitchellh/mapstructure v1.5.0 // indirect
263262
github.com/mitchellh/reflectwalk v1.0.2 // indirect

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,8 +1313,8 @@ github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng
13131313
github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
13141314
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
13151315
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
1316-
github.com/hashicorp/go-getter v1.7.8 h1:mshVHx1Fto0/MydBekWan5zUipGq7jO0novchgMmSiY=
1317-
github.com/hashicorp/go-getter v1.7.8/go.mod h1:2c6CboOEb9jG6YvmC9xdD+tyAFsrUaJPedwXDGr0TM4=
1316+
github.com/hashicorp/go-getter v1.7.9 h1:G9gcjrDixz7glqJ+ll5IWvggSBR+R0B54DSRt4qfdC4=
1317+
github.com/hashicorp/go-getter v1.7.9/go.mod h1:dyFCmT1AQkDfOIt9NH8pw9XBDqNrIKJT5ylbpi7zPNE=
13181318
github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
13191319
github.com/hashicorp/go-hclog v1.0.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
13201320
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
@@ -1525,8 +1525,6 @@ github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HK
15251525
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
15261526
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
15271527
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
1528-
github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU=
1529-
github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8=
15301528
github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=
15311529
github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
15321530
github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=

0 commit comments

Comments
 (0)