Skip to content

build: Update module golang.org/x/crypto to v0.45.0 [SECURITY] (releases/v5.x)#1744

Merged
pjbgf merged 2 commits intoreleases/v5.xfrom
renovate/releases/v5.x-go-golang.org-x-crypto-vulnerability
Nov 23, 2025
Merged

build: Update module golang.org/x/crypto to v0.45.0 [SECURITY] (releases/v5.x)#1744
pjbgf merged 2 commits intoreleases/v5.xfrom
renovate/releases/v5.x-go-golang.org-x-crypto-vulnerability

Conversation

@go-git-renovate
Copy link
Contributor

@go-git-renovate go-git-renovate bot commented Nov 23, 2025

This PR contains the following updates:

Package Change Age Confidence
golang.org/x/crypto v0.37.0 -> v0.45.0 age confidence
golang.org/x/crypto v0.36.0 -> v0.45.0 age confidence

Potential denial of service in golang.org/x/crypto/ssh/agent

CVE-2025-47913 / GO-2025-4116

More information

Details

SSH clients receiving SSH_AGENT_SUCCESS when expecting a typed response will panic and cause early termination of the client process.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent

CVE-2025-47914 / GHSA-f6x5-jh6r-wrfv / GO-2025-4135

More information

Details

SSH Agent servers do not validate the size of messages when processing new identity requests, which may cause the program to panic if the message is malformed due to an out of bounds read.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption

CVE-2025-58181 / GHSA-j5w8-q4qc-rx2x / GO-2025-4134

More information

Details

SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded memory consumption.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read

CVE-2025-47914 / GHSA-f6x5-jh6r-wrfv / GO-2025-4135

More information

Details

SSH Agent servers do not validate the size of messages when processing new identity requests, which may cause the program to panic if the message is malformed due to an out of bounds read.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Unbounded memory consumption in golang.org/x/crypto/ssh

CVE-2025-58181 / GHSA-j5w8-q4qc-rx2x / GO-2025-4134

More information

Details

SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded memory consumption.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.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 these updates again.


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

This PR has been generated by Renovate Bot.

@go-git-renovate go-git-renovate bot added the dependencies Pull requests that update a dependency file label Nov 23, 2025
@go-git-renovate
Copy link
Contributor Author

go-git-renovate bot commented Nov 23, 2025

ℹ Artifact update notice

File name: cli/go-git/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.23.0 -> 1.24.0
golang.org/x/net v0.38.0 -> v0.47.0
golang.org/x/sys v0.31.0 -> v0.38.0
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):

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

Details:

Package Change
go 1.23.0 -> 1.24.0
go (toolchain) 1.23.6 -> 1.24.10
golang.org/x/net v0.39.0 -> v0.47.0
golang.org/x/sys v0.32.0 -> v0.38.0
golang.org/x/text v0.24.0 -> v0.31.0

@go-git-renovate go-git-renovate bot changed the title fix(deps): update module golang.org/x/crypto to v0.45.0 [security] (releases/v5.x) build: Update module golang.org/x/crypto to v0.45.0 [SECURITY] (releases/v5.x) Nov 23, 2025
@go-git-renovate go-git-renovate bot force-pushed the renovate/releases/v5.x-go-golang.org-x-crypto-vulnerability branch from 285e294 to f06c942 Compare November 23, 2025 21:58
go-git-renovate bot and others added 2 commits November 23, 2025 22:47
From Go 1.24 the use of non-constant format strings result in an error
at compilation time.

Signed-off-by: Paulo Gomes <[email protected]>
@pjbgf pjbgf force-pushed the renovate/releases/v5.x-go-golang.org-x-crypto-vulnerability branch from f06c942 to 1495930 Compare November 23, 2025 22:47
@pjbgf
Copy link
Member

pjbgf commented Nov 23, 2025

The project policy is to support the last 3 Go stable versions, hence why this did not make it to v5.16.4.

A RFC will be proposed to review the existing policy.

@pjbgf pjbgf merged commit e5a05ec into releases/v5.x Nov 23, 2025
23 checks passed
@pjbgf pjbgf deleted the renovate/releases/v5.x-go-golang.org-x-crypto-vulnerability branch November 23, 2025 22:55
arthurzam pushed a commit to gentoo-golang-dist/forgejo-runner that referenced this pull request Feb 19, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) | `v5.16.4` -> `v5.16.5` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-git%2fgo-git%2fv5/v5.16.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-git%2fgo-git%2fv5/v5.16.4/v5.16.5?slim=true) |

---

### Release Notes

<details>
<summary>go-git/go-git (github.com/go-git/go-git/v5)</summary>

### [`v5.16.5`](https://github.com/go-git/go-git/releases/tag/v5.16.5)

[Compare Source](go-git/go-git@v5.16.4...v5.16.5)

#### What's Changed

- build: Update module golang.org/x/crypto to v0.45.0 \[SECURITY] (releases/v5.x) by [@&#8203;go-git-renovate](https://github.com/go-git-renovate)\[bot] in [#&#8203;1744](go-git/go-git#1744)
- build: Bump Go test versions to 1.23-1.25 (v5) by [@&#8203;pjbgf](https://github.com/pjbgf) in [#&#8203;1746](go-git/go-git#1746)
- \[v5] git: worktree, Don't delete local untracked files when resetting worktree by [@&#8203;Ch00k](https://github.com/Ch00k) in [#&#8203;1800](go-git/go-git#1800)
- Expand packfile checks by [@&#8203;pjbgf](https://github.com/pjbgf) in [#&#8203;1836](go-git/go-git#1836)

**Full Changelog**: <go-git/go-git@v5.16.4...v5.16.5>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 **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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41LjAiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIktpbmQvRGVwZW5kZW5jeVVwZGF0ZSIsInJ1bi1lbmQtdG8tZW5kLXRlc3RzIl19-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/1365
Reviewed-by: Mathieu Fenniak <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant