Skip to content

Conversation

@stackit-pipeline
Copy link
Contributor

@stackit-pipeline stackit-pipeline commented Jan 7, 2025

This PR contains the following updates:

Package Type Update Change
github.com/go-git/go-git/v5 require minor v5.12.0 -> v5.13.0

GitHub Vulnerability Alerts

CVE-2025-21613

Impact

An argument injection vulnerability was discovered in go-git versions prior to v5.13.

Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries.

Affected versions

Users running versions of go-git from v4 and above are recommended to upgrade to v5.13 in order to mitigate this vulnerability.

Workarounds

In cases where a bump to the latest version of go-git is not possible, we recommend users to enforce restrict validation rules for values passed in the URL field.

Credit

Thanks to @​vin01 for responsibly disclosing this vulnerability to us.

CVE-2025-21614

Impact

A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.13. This vulnerability allows an attacker to perform denial of service attacks by providing specially crafted responses from a Git server which triggers resource exhaustion in go-git clients.

This is a go-git implementation issue and does not affect the upstream git cli.

Patches

Users running versions of go-git from v4 and above are recommended to upgrade to v5.13 in order to mitigate this vulnerability.

Workarounds

In cases where a bump to the latest version of go-git is not possible, we recommend limiting its use to only trust-worthy Git servers.

Credit

Thanks to Ionut Lalu for responsibly disclosing this vulnerability to us.


Release Notes

go-git/go-git (github.com/go-git/go-git/v5)

v5.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-git/go-git@v5.12.0...v5.13.0


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@stackit-pipeline stackit-pipeline added the renovate Renovate dependency updates label Jan 7, 2025
@stackit-pipeline
Copy link
Contributor Author

stackit-pipeline commented Jan 7, 2025

ℹ Artifact update notice

File name: scripts/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 7 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.18 -> 1.24.0
github.com/ProtonMail/go-crypto v1.0.0 -> v1.1.3
github.com/cyphar/filepath-securejoin v0.2.4 -> v0.2.5
github.com/go-git/go-billy/v5 v5.5.0 -> v5.6.0
github.com/skeema/knownhosts v1.2.2 -> v1.3.0
golang.org/x/crypto v0.21.0 -> v0.31.0
golang.org/x/net v0.23.0 -> v0.33.0
golang.org/x/tools v0.13.0 -> v0.21.1-0.20240508182429-e35e4ccd0d2d

@stackit-pipeline stackit-pipeline force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch 6 times, most recently from 62c7aaa to ff34a40 Compare January 15, 2025 00:44
@stackit-pipeline stackit-pipeline force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch 4 times, most recently from 44185ef to 02cb92f Compare January 22, 2025 00:45
@stackit-pipeline stackit-pipeline force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch 2 times, most recently from b7250df to 3121a96 Compare January 25, 2025 00:43
@stackit-pipeline stackit-pipeline force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch 5 times, most recently from 709e94a to 1c73c20 Compare February 6, 2025 00:45
@stackit-pipeline stackit-pipeline force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from 1c73c20 to 25f6d15 Compare February 7, 2025 00:45
@stackit-pipeline stackit-pipeline force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from 25f6d15 to e52894c Compare February 12, 2025 00:45
@bahkauv70
Copy link
Contributor

Postponed until minimum go version has been increased

@bahkauv70 bahkauv70 closed this Feb 12, 2025
@bahkauv70 bahkauv70 deleted the renovate/go-github.com-go-git-go-git-v5-vulnerability branch February 12, 2025 08:13
@stackit-pipeline
Copy link
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v5.13.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate Renovate dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants