Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2024

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
github.com/go-git/go-git/v5 v5.4.2 -> v5.13.0 age confidence

GitHub Vulnerability Alerts

CVE-2023-49569

Impact

A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files across the filesystem. In the worse case scenario, remote code execution could be achieved.

Applications are only affected if they are using the ChrootOS, which is the default when using "Plain" versions of Open and Clone funcs (e.g. PlainClone). Applications using BoundOS or in-memory filesystems are not affected by this issue.
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.11 in order to mitigate this vulnerability.

Workarounds

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

Credit

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

CVE-2023-49568

Impact

A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.11. 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.

Applications using only the in-memory filesystem supported by go-git are not affected by this vulnerability.
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.11 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.

References

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

v5.12.0

Compare Source

What's Changed

New Contributors

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

v5.11.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-git/go-git@v5.10.1...v5.11.0

v5.10.1

Compare Source

What's Changed

New Contributors

Full Changelog: go-git/go-git@v5.10.0...v5.10.1

v5.10.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-git/go-git@v5.9.0...v5.10.0

v5.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-git/go-git@v5.8.1...v5.9.0

v5.8.1

Compare Source

What's Changed

Full Changelog: go-git/go-git@v5.8.0...v5.8.1

v5.8.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-git/go-git@v5.7.0...v5.7.1

v5.7.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-git/go-git@v5.6.1...v5.7.0

v5.6.1

Compare Source

What's Changed

Full Changelog: go-git/go-git@v5.6.0...v5.6.1

v5.6.0

Compare Source

What's Changed

Full Changelog: go-git/go-git@v5.5.2...v5.6.0

v5.5.2

Compare Source

What's Changed

Full Changelog: go-git/go-git@v5.5.1...v5.5.2

v5.5.1

Compare Source

What's Changed

  • *: fix error when building with CGO_ENABLED=0 by @​pjbgf in #​625
  • plumbing: transport/ssh: fix panic on Windows 10 with paegent as ssh-agent by [@​doxsc

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 becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Aug 6, 2024

ℹ Artifact update notice

File name: 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):

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

Details:

Package Change
go 1.16 -> 1.21
github.com/go-git/go-billy/v5 v5.3.1 -> v5.6.0
github.com/stretchr/testify v1.8.1 -> v1.10.0

@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from a93f0f2 to 6cd3c8d Compare January 8, 2025 14:21
@renovate renovate bot changed the title fix(deps): update module github.com/go-git/go-git/v5 to v5.11.0 [security] fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] Jan 8, 2025
@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from 6cd3c8d to c95ae75 Compare March 3, 2025 11:43
@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from c95ae75 to cb2e360 Compare March 11, 2025 11:25
@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from cb2e360 to 0f68d36 Compare April 8, 2025 14:38
Copy link

socket-security bot commented Apr 8, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub.com/​go-git/​go-git/​v5@​v5.4.2 ⏵ v5.13.082 -7100 +75100100100
Updatedgithub.com/​stretchr/​testify@​v1.8.1 ⏵ v1.10.096 +3100100100100
Updatedgithub.com/​go-git/​go-billy/​v5@​v5.3.1 ⏵ v5.6.098100100100100

View full report

@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from 0f68d36 to e0b9e3a Compare May 7, 2025 13:07
@renovate renovate bot changed the title fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] - autoclosed Jun 20, 2025
@renovate renovate bot closed this Jun 20, 2025
@renovate renovate bot deleted the renovate/go-github.com-go-git-go-git-v5-vulnerability branch June 20, 2025 00:50
@renovate renovate bot changed the title fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] - autoclosed fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] Jun 20, 2025
@renovate renovate bot reopened this Jun 20, 2025
@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from e0b9e3a to 5ab3619 Compare June 20, 2025 11:32
@renovate renovate bot changed the title fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] - autoclosed Jul 25, 2025
@renovate renovate bot closed this Jul 25, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] - autoclosed fix(deps): update module github.com/go-git/go-git/v5 to v5.13.0 [security] Jul 25, 2025
@renovate renovate bot reopened this Jul 25, 2025
@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from e7e7998 to 5ab3619 Compare July 25, 2025 17:07
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed everything up to 5ab3619 in 1 minute and 19 seconds. Click for details.
  • Reviewed 301 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 4 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. go.mod:3
  • Draft comment:
    The Go version has been updated from 1.16 to 1.21 and a toolchain directive (go1.24.4) has been added. Make sure that your code and build environment are compatible with these changes.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% This comment is purely informative and asks the PR author to ensure compatibility, which violates the rules. It does not provide a specific code suggestion or ask for a specific test to be written.
2. go.mod:10
  • Draft comment:
    The dependencies for github.com/go-git/go-billy/v5 and github.com/go-git/go-git/v5 have been bumped from v5.3.1/v5.4.2 to v5.6.0/v5.13.0 respectively. This update is critical to address known security vulnerabilities. Verify that any downstream usage of these libraries is fully compatible.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is discussing dependency changes and asking the author to verify compatibility, which violates the rules against commenting on dependency changes and asking for verification of compatibility.
3. go.mod:13
  • Draft comment:
    The github.com/stretchr/testify dependency has been upgraded from v1.8.1 to v1.10.0. Ensure that tests relying on this library are reviewed for any potential changes in behavior or API updates.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% This comment is about a dependency change, specifically an upgrade of a library version. The comment asks the PR author to ensure that tests relying on this library are reviewed for potential changes. According to the rules, comments on dependency changes or asking the author to ensure something is tested are not allowed.
4. go.sum:1
  • Draft comment:
    The go.sum file has been updated to reflect the new dependency versions and their checksums. This is expected, but please verify that these checksums match the official releases to ensure integrity.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_Wse67tbJShA31uxW

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from 5ab3619 to 319724f Compare July 25, 2025 23:14
@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from 319724f to 2a063ec Compare August 10, 2025 12:53
@renovate renovate bot force-pushed the renovate/go-github.com-go-git-go-git-v5-vulnerability branch from 2a063ec to 0cba71f Compare August 10, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants