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.
CVE-2024-45337
This critical-severity CVE scores 9.1 under NVD CVSS v3. EPSS exploit probability: 30.3%, top 3% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.1
- EG Score
- 9.1(medium)
- EPSS
- 86.5%
- KEV
- Not listed
Published
December 12, 2024
Last Modified
April 15, 2026
Advisory Details (7)
Auto-updated May 21, 2026oss-security - Vulnerability in golang.org/x/crypto [CVE-2024-45337: misuse of ServerConfig.PublicKeyCallback may cause authorization bypass]
http://www.openwall.com/lists/oss-security/2024/12/11/2x/crypto/ssh: misuse of ServerConfig.PublicKeyCallback may cause authorization bypass · Issue #70779 · golang/go · GitHub
https://go.dev/issue/70779ssh: make the public key cache a 1-entry FIFO cache · golang/crypto@b4f1988 · GitHub
https://github.com/golang/crypto/commit/b4f1988a35dee11ec3e05d6bf3e90b695fbd8909Vendor Advisories for CVE-2024-45337(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:6568Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.15.4
- RHSA-2026:2762Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.10.18
- RHSA-2026:2754Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.9.18
- RHSA-2026:2681Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.16.2
- RHSA-2026:1730Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.12.13
- RHSA-2025:23207Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift GitOps v1.16.5 security update
- RHSA-2025:23206Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift GitOps v1.17.3 security update
- RHSA-2025:23203Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift GitOps v1.18.2 security update
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang.org/x/crypto | — | 0.31.0 | — |
All Vendor Advisories
(25)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Microsoft MSRCCVE-2024-453372024-12-20
Misuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/crypto
- Red HatRHSA-2024:11037IMPORTANT2024-12-11
RHSA-2024:11037 — Important
- Red HatRHSA-2024:11038IMPORTANT2024-12-11
RHSA-2024:11038 — Important
- Red HatRHSA-2024:6121IMPORTANT2024-12-11
RHSA-2024:6121 — Important
- Red HatRHSA-2025:0370IMPORTANT2024-12-11
RHSA-2025:0370 — Important
- Red HatRHSA-2025:0385IMPORTANT2024-12-11
RHSA-2025:0385 — Important
- Red HatRHSA-2025:0386IMPORTANT2024-12-11
RHSA-2025:0386 — Important
- Red HatRHSA-2025:0390IMPORTANT2024-12-11
RHSA-2025:0390 — Important
- Red HatRHSA-2025:0444IMPORTANT2024-12-11
RHSA-2025:0444 — Important
- Red HatRHSA-2025:0445IMPORTANT2024-12-11
RHSA-2025:0445 — Important
- Red HatRHSA-2025:0485IMPORTANT2024-12-11
RHSA-2025:0485 — Important
- Red HatRHSA-2025:0522IMPORTANT2024-12-11
RHSA-2025:0522 — Important
- Red HatRHSA-2025:0535IMPORTANT2024-12-11
RHSA-2025:0535 — Important
- Red HatRHSA-2025:0536IMPORTANT2024-12-11
RHSA-2025:0536 — Important
- Red HatRHSA-2025:0552IMPORTANT2024-12-11
RHSA-2025:0552 — Important
- Red HatRHSA-2025:0560IMPORTANT2024-12-11
RHSA-2025:0560 — Important
- Red HatRHSA-2025:0576IMPORTANT2024-12-11
RHSA-2025:0576 — Important
- Red HatRHSA-2025:0577IMPORTANT2024-12-11
RHSA-2025:0577 — Important
- Red HatRHSA-2025:0645IMPORTANT2024-12-11
RHSA-2025:0645 — Important
- Red HatRHSA-2025:0649IMPORTANT2024-12-11
RHSA-2025:0649 — Important
- Red HatRHSA-2025:0653IMPORTANT2024-12-11
RHSA-2025:0653 — Important
- Red HatRHSA-2025:0676IMPORTANT2024-12-11
RHSA-2025:0676 — Important
- Red HatRHSA-2025:0679IMPORTANT2024-12-11
RHSA-2025:0679 — Important
- Red HatRHSA-2025:0723IMPORTANT2024-12-11
RHSA-2025:0723 — Important
- Red HatRHSA-2025:0778IMPORTANT2024-12-11
RHSA-2025:0778 — Important
Data Freshness Timeline
(refreshed 12× in last 7d / 46× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 101 total refreshes for this CVE.
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-10 22:41 UTCOSV refresh
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 06:37 UTCOSV refresh
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 04:09 UTCOSV refresh
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-23 00:09 UTCEG score recompute
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-21 22:42 UTCEPSS rescore
- 2026-05-21 20:37 UTCEG score recompute
- 2026-05-21 20:37 UTCVendor advisory
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCNHAS/CVE-2024-45337-POCFirst seen Dec 17, 2024
Proof of concept (POC) for CVE-2024-45337
Open source ↗
Related CVEs(same vendor)
Frequently asked(5)
What is CVE-2024-45337?
When was CVE-2024-45337 disclosed?
Is CVE-2024-45337 actively exploited?
What is the CVSS score of CVE-2024-45337?
How do I remediate CVE-2024-45337?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-45337
Is Your Infrastructure Affected by CVE-2024-45337?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.