CVE-2024-45337

CRITICAL

Applications and libraries which misuse connection.serverAuthenticate (via callback field ServerConfig.PublicKeyCallback) may be susceptible to an authorization bypass. The documentation for Server...

Affects 0 products across 7 vendors.

BCS7.9
CVSS 3.19.1
EPSS3.2%
Percentile87th
PatchUnknown
CVSS Vector — Plain English Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
◆ SAGE Intelligence — CITED Relevance Research Team

Applications and libraries misusing the connection.serverAuthenticate method via the ServerConfig.PublicKeyCallback field are vulnerable to an authorization bypass due to the SSH protocol allowing clients to inquire about the key without guaranteeing its use for authentication.

BSID: BS-2024-GLOBAL-213295-C • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: MEDIUM

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2024-45337?
Applications and libraries misusing the connection.serverAuthenticate method via the ServerConfig.PublicKeyCallback field are vulnerable to an authorization bypass due to the SSH protocol allowing clients to inquire about the key without guaranteeing its use for authentication.
What is the CVSS score for CVE-2024-45337?
CVE-2024-45337 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 3.2%.
Is CVE-2024-45337 actively exploited?
No confirmed active exploitation of CVE-2024-45337 as of 2026-05-30.
How do I remediate CVE-2024-45337?
Priority: HIGH.
What systems are affected by CVE-2024-45337?
CVE-2024-45337 affects: Associated, Callback, Cannot, Client, Golang, Last, Protocol.
Vulnerability Details
CVE IDCVE-2024-45337
BSIDBS-2024-GLOBAL-213295-C BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2024-12-12
Last Modified2026-04-15
ICS Relevance0%
SourceNVD
Official Description

Applications and libraries which misuse connection.serverAuthenticate (via callback field ServerConfig.PublicKeyCallback) 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/[email protected] 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.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

An attacker can exploit this vulnerability by providing a public key that is not actually used for authentication, leading to unauthorized access.

Exploitation Likelihood: MEDIUM

Affected Products
VendorProductFixed Version
Associated —
Callback —
Cannot —
Client —
Golang —
Last —
Protocol —
Remediation

No patch URL on record. Monitor vendor security advisories directly.

Threat Intelligence
● Threat Intelligence Validated: July 2026 | Threat Age: 590 Days
CISA KEVNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
SAGE Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceMEDIUM
Enriched At2026-05-24
SHA-512 Audit Hash2beff4568a9e5ac4a4d22aeb989497feb51d73a1e50bc4acb9047868784d5edbf9a3274d4270dd69df71529f2746e93cc756f9798e2d3e452c953a18fe88d12a
Related CVEs affecting Associated
CVE-2024-2086 10.0 The Integrate Google Drive – Browse, Upload, Download, Embed, Play, Share, Ga... CVE-2025-40914 9.8 Perl CryptX before version 0.087 contains a dependency that may be susceptibl... CVE-2026-5229 9.8 The Form Notify plugin for WordPress is vulnerable to Authentication Bypass i... CVE-2025-10293 8.8 The Keyy Two Factor Authentication (like Clef) plugin for WordPress is vulner... CVE-2026-40581 8.1 ChurchCRM is an open-source church management system. In versions prior to 7....
View all Associated CVEs →

Critical Severity - Know Your Exposure

A CVSS 9.1 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.

Check Your Assets Free →