# CVE-2024-45337: GO-2024-3321 - Misuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/crypto

Source: https://junglewise.ai/threats/cve-2024-45337-misuse-of-serverconfig-publickeycallback-may-cause-authorization  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-11  
License: CC BY 4.0 with a link back

CVE-2024-45337 · Severity: low · CVSS 3.1 · Published 2024-12-11

Misuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/crypto

Technologies: [golang.org/x/crypto (Go)](https://junglewise.ai/threats/technologies/golang-org-x-crypto). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-45337 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-45337 being exploited in the wild.

**How severe is CVE-2024-45337?** Low severity, with a CVSS score of 3.1, published 11 December 2024.

**Which products and versions are affected?** golang.org/x/crypto (Go) SEMVER:introduced=0,fixed=0.31.0.

**Is there a fix for CVE-2024-45337?** Yes. golang.org/x/crypto (Go): upgrade to 0.31.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-45337?** Check whether you run golang.org/x/crypto (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- golang.org/x/crypto (Go): upgrade to 0.31.0 or later

  ```sh
  go get golang.org/x/crypto@v0.31.0
  ```


## Affected products

- golang.org/x/crypto (Go) SEMVER:introduced=0,fixed=0.31.0

## Identifiers

- CVE-2024-45337
- GHSA-v778-237x-gjrc
- GO-2024-3321

## Related threats

- [Go SSH deadlock vulnerability in channel handling](https://junglewise.ai/threats/cve-2026-56855-go-ssh-deadlock-vulnerability-in-channel-handling)
- [Go x/crypto/ssh deadlock denial of service on undecided channel](https://junglewise.ai/threats/cve-2026-78662-go-2026-6354-prevent-dos-on-deadlocked-undecided-channel-in)
- [Go SSH source-address permission validation bypass in authentication callbacks](https://junglewise.ai/threats/cve-2026-56854-go-ssh-source-address-permission-validation-bypass-in)
- [GO-2026-5932 - The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues](https://junglewise.ai/threats/go-2026-5932-the-golang-org-x-crypto-openpgp-package-is-unmaintained-7e8ca4de)
- [Go x/crypto denial of service in SSH agent Ed25519 parsing](https://junglewise.ai/threats/cve-2026-46598-go-x-crypto-denial-of-service-in-ssh-agent-ed25519-parsing)
