Skip to content

Comments

chore: update module golang.org/x/crypto to v0.45.0 [security]#74

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/go-golang.org-x-crypto-vulnerability
Open

chore: update module golang.org/x/crypto to v0.45.0 [security]#74
renovate[bot] wants to merge 1 commit intomainfrom
renovate/go-golang.org-x-crypto-vulnerability

Conversation

@renovate
Copy link

@renovate renovate bot commented May 21, 2025

This PR contains the following updates:

Package Change Age Confidence
golang.org/x/crypto v0.18.0v0.45.0 age confidence

GitHub Vulnerability Alerts

CVE-2024-45337

Applications and libraries which misuse the ServerConfig.PublicKeyCallback callback may be susceptible to an authorization bypass.

The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to PublicKeyCallback (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions.

For example, an attacker may send public keys A and B, and then authenticate with A. PublicKeyCallback would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key.

Since this API is widely misused, as a partial mitigation golang.org/x/crypto@v0.31.0 enforces the property that, when successfully authenticating via public key, the last key passed to ServerConfig.PublicKeyCallback will be the key used to authenticate the connection. PublicKeyCallback will now be called multiple times with the same key, if necessary. Note that the client may still not control the last key passed to PublicKeyCallback if the connection is then authenticated with a different method, such as PasswordCallback, KeyboardInteractiveCallback, or NoClientAuth.

Users should be using the Extensions field of the Permissions return value from the various authentication callbacks to record data associated with the authentication attempt instead of referencing external state. Once the connection is established the state corresponding to the successful authentication attempt can be retrieved via the ServerConn.Permissions field. Note that some third-party libraries misuse the Permissions type by sharing it across authentication attempts; users of third-party libraries should refer to the relevant projects for guidance.

CVE-2025-22869

SSH servers which implement file transfer protocols are vulnerable to a denial of service attack from clients which complete the key exchange slowly, or not at all, causing pending content to be read into memory, but never transmitted.

CVE-2025-58181

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.

CVE-2025-47914

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.


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

@renovate renovate bot requested a review from pyshx as a code owner May 21, 2025 07:05
@renovate renovate bot added the security label May 21, 2025
@coderabbitai
Copy link

coderabbitai bot commented May 21, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Join our Discord community for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@netlify
Copy link

netlify bot commented May 21, 2025

Deploy Preview for reearth-classic canceled.

Name Link
🔨 Latest commit a863551
🔍 Latest deploy log https://app.netlify.com/projects/reearth-classic/deploys/682d7b483dbcd20008d81462

@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch from a863551 to f0be3aa Compare August 11, 2025 04:06
@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch from f0be3aa to 6178118 Compare September 26, 2025 00:03
@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch from 6178118 to 8de2c17 Compare November 20, 2025 11:59
@renovate renovate bot changed the title chore: update module golang.org/x/crypto to v0.35.0 [security] chore: update module golang.org/x/crypto to v0.45.0 [security] Nov 20, 2025
@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch 3 times, most recently from a42193a to c625451 Compare November 27, 2025 08:20
@renovate renovate bot requested a review from soneda-yuya as a code owner November 27, 2025 08:20
@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch 7 times, most recently from 6c280ec to 9eb936d Compare December 5, 2025 06:16
@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch from 9eb936d to ccf6ea0 Compare December 19, 2025 01:46
@renovate
Copy link
Author

renovate bot commented Dec 24, 2025

ℹ️ Artifact update notice

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

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

Details:

Package Change
golang.org/x/net v0.20.0 -> v0.47.0
golang.org/x/text v0.14.0 -> v0.31.0
golang.org/x/tools v0.17.0 -> v0.38.0
golang.org/x/mod v0.14.0 -> v0.29.0
golang.org/x/sync v0.6.0 -> v0.18.0
golang.org/x/sys v0.16.0 -> v0.38.0
go 1.21 -> 1.24.0

@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch from ccf6ea0 to 39219f1 Compare December 24, 2025 05:59
@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch 2 times, most recently from e5fa5da to 45e456f Compare January 8, 2026 01:02
@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch 2 times, most recently from a091f85 to d983ae7 Compare January 20, 2026 06:43
@renovate renovate bot force-pushed the renovate/go-golang.org-x-crypto-vulnerability branch from d983ae7 to 54e82b8 Compare February 13, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants