Skip to content
Noroxi
CVE-2024-45337· NVD / CVE Program· CNA Go

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

Noroxi assessment

Priority: Monitor (action score 37/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 3.1% (FIRST EPSS); higher than 87.8% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: golang.org/x/crypto golang.org/x/crypto/ssh 0.31.0; azl3 cert-manager 1.12.13-2 on Azure Linux 3.0 1.12.13-2; azl3 cf-cli 8.7.11-3 on Azure Linux 3.0 8.7.3-4.

Low priority for now. Upgrade to golang.org/x/crypto golang.org/x/crypto/ssh 0.31.0; azl3 cert-manager 1.12.13-2 on Azure Linux 3.0 1.12.13-2; azl3 cf-cli 8.7.11-3 on Azure Linux 3.0 8.7.3-4 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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/cry...@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.

CriticalCVSS 9.1 · v3.1—Proof of concept Fix available
Published
Dec 11, 2024
Updated
Jun 17, 2026
EPSS
3.1% · 87th percentile

Report tools

JSON

Action score

37

Monitor

Low priority for now.

CVSS
36 / 40 · 9.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.1%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-45337

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Go). Independent of NVD's CPE analysis and usually ahead of it.

  • golang.org/x/crypto golang.org/x/crypto/ssh

    • before 0.31.0affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12golang-go.cryptofrom 0—
Debian:14golang-go.cryptobefore 1:0.42.0-11:0.42.0-1
Gogolang.org/x/cryptobefore 0.31.00.31.0
openSUSE:Leap 15.6vexctlbefore 0.4.1+git78.f951e3a-150000.1.11.10.4.1+git78.f951e3a-150000.1.11.1
openSUSE:Leap 16.0git-bugbefore 0.10.1-bp160.1.10.10.1-bp160.1.1
openSUSE:Leap 16.0gitea-teabefore 0.15.1-bp160.1.10.15.1-bp160.1.1
openSUSE:Leap 16.0google-guest-agentbefore 20250506.01-160000.1.120250506.01-160000.1.1
openSUSE:Leap 16.0trivybefore 0.66.0-bp160.1.10.66.0-bp160.1.1
openSUSE:Leap 16.0vexctlbefore 0.4.4+git20.5d61136-160000.1.10.4.4+git20.5d61136-160000.1.1
openSUSE:Tumbleweedapptainerbefore 1.3.6-5.11.3.6-5.1
openSUSE:Tumbleweedcloudflaredbefore 2024.12.1-1.12024.12.1-1.1
openSUSE:Tumbleweedgit-bugbefore 0.8.0+git.1733745604.d499b6e-1.10.8.0+git.1733745604.d499b6e-1.1
openSUSE:Tumbleweedgitleaksbefore 8.24.2-1.18.24.2-1.1
openSUSE:Tumbleweedgolang-github-prometheus-prometheusbefore 3.1.0-1.13.1.0-1.1
openSUSE:Tumbleweedgoogle-guest-agentbefore 20250327.01-1.120250327.01-1.1
openSUSE:Tumbleweedgopassbefore 1.15.16-1.11.15.16-1.1
openSUSE:Tumbleweedgovulncheck-vulndbbefore 0.0.20241213T205935-1.10.0.20241213T205935-1.1
openSUSE:Tumbleweedgrafanabefore 11.3.0-4.111.3.0-4.1
openSUSE:Tumbleweedhelmbefore 3.16.4-1.13.16.4-1.1
openSUSE:Tumbleweedhelm3before 3.19.2-1.13.19.2-1.1
openSUSE:Tumbleweedlokibefore 3.3.2-1.13.3.2-1.1
openSUSE:Tumbleweedminikubebefore 1.36.0-2.11.36.0-2.1
openSUSE:Tumbleweedrclonebefore 1.69.0-1.11.69.0-1.1
openSUSE:Tumbleweedrime-plum-gobefore 1.0.3-1.11.0.3-1.1

+59

Same product

Other highest-scoring records for the same primary product.

  • CVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
golang.org/x/crypto golang.org/x/crypto/ssh0.31.0Vendor (CNA)
azl3 cert-manager 1.12.13-2 on Azure Linux 3.01.12.13-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 cf-cli 8.7.11-3 on Azure Linux 3.08.7.3-4 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 cf-cli 8.7.3-4 on Azure Linux 3.08.7.3-4 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 docker-buildx 0.14.0-2 on Azure Linux 3.00.14.0-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 docker-buildx 0.14.0-5 on Azure Linux 3.00.14.0-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 docker-compose 2.27.0-2 on Azure Linux 3.02.27.0-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 docker-compose 2.27.0-5 on Azure Linux 3.02.27.0-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 gh 2.62.0-3 on Azure Linux 3.02.62.0-3 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 gh 2.62.0-8 on Azure Linux 3.02.62.0-3 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 kubevirt 1.2.0-11 on Azure Linux 3.01.2.0-11 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 kubevirt 1.2.0-17 on Azure Linux 3.01.2.0-11 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 moby-engine 25.0.3-13 on Azure Linux 3.025.0.3-9 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 moby-engine 25.0.3-9 on Azure Linux 3.025.0.3-9 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 packer 1.9.5-4 on Azure Linux 3.01.9.5-4 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 packer 1.9.5-6 on Azure Linux 3.01.9.5-4 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 telegraf 1.31.0-10 on Azure Linux 3.01.31.0-3 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 telegraf 1.31.0-3 on Azure Linux 3.01.31.0-3 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 cert-manager 1.11.2-16 on CBL Mariner 2.01.11.2-16 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 cert-manager 1.11.2-22 on CBL Mariner 2.01.11.2-16 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 cert-manager 1.11.2-22 on CBL-Mariner 2.01.11.2-16 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 moby-compose 2.17.3-10 on CBL Mariner 2.02.17.3-9 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 moby-compose 2.17.3-10 on CBL-Mariner 2.02.17.3-9 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 moby-compose 2.17.3-9 on CBL Mariner 2.02.17.3-9 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 moby-engine 24.0.9-12 on CBL Mariner 2.024.0.9-12 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 moby-engine 24.0.9-16 on CBL Mariner 2.024.0.9-12 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 moby-engine 24.0.9-16 on CBL-Mariner 2.024.0.9-12 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 packer 1.9.5-5 on CBL Mariner 2.01.9.5-5 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 packer 1.9.5-5 on CBL-Mariner 2.01.9.5-5 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 telegraf 1.29.4-10 on CBL Mariner 2.01.29.4-10 · CBL-Mariner ReleasesMicrosoft (MSRC)

+27

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×4

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:62024-12-17
Proof-of-concept repository on GitHubstars:12024-12-17
Proof-of-concept repository on GitHubstars:12025-01-24
Proof-of-concept repository on GitHubstars:02026-04-13

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+5 d
  3. TodayOct 19, 2026+676 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records