CVSS 3.1
9.1 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCritical (9.1) in golang.org/x/crypto golang.org/x/crypto/ssh. EPSS 3.8% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.31.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Ngolang.org/x/crypto (Go): fixed in 0.31.0Explain CVE-2024-45337 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45337?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45337?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-45337 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| golang.org/x/crypto/ssh | before 0.31.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v778-237x-gjrc | Go | golang.org/x/crypto | <0.31.0 | 0.31.0 |
| GO-2024-3321 | Go | golang.org/x/crypto | <0.31.0 | 0.31.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | golang-go.crypto | no fix listed | DEBIAN-CVE-2024-45337 |
| Debian | 14 | golang-go.crypto | 1:0.42.0-1 | DEBIAN-CVE-2024-45337 |
| Ubuntu | 22.04:LTS | google-guest-agent | 20250116.00-0ubuntu1~22.04.1 | UBUNTU-CVE-2024-45337 USN-7839-2 |
| Ubuntu | 24.04:LTS | google-guest-agent | 20250116.00-0ubuntu1~24.04.2 | UBUNTU-CVE-2024-45337 USN-7839-2 |
| Ubuntu | 25.10 | golang-go.crypto | no fix listed | UBUNTU-CVE-2024-45337 |
| Ubuntu | Pro:16.04:LTS | golang-go.crypto | 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1 | UBUNTU-CVE-2024-45337 USN-7839-1 |
| Ubuntu | Pro:16.04:LTS | google-guest-agent | 20240716.00-0ubuntu1~16.04.0+esm1 | UBUNTU-CVE-2024-45337 USN-7839-2 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS | lxd | no fix listed | UBUNTU-CVE-2024-45337 |
| Ubuntu | Pro:18.04:LTS | golang-go.crypto | 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1 | UBUNTU-CVE-2024-45337 USN-7839-1 |
| Ubuntu | Pro:18.04:LTS | google-guest-agent | 20241011.01-0ubuntu1~18.04.0+esm1 | UBUNTU-CVE-2024-45337 USN-7839-2 |
| Ubuntu | Pro:20.04:LTS | golang-go.crypto | 1:0.0~git20200221.2aa609c-1ubuntu0.1~esm1 | UBUNTU-CVE-2024-45337 USN-7839-1 |
| Ubuntu | Pro:20.04:LTS | google-guest-agent | 20250116.00-0ubuntu1~20.04.0+esm1 | UBUNTU-CVE-2024-45337 USN-7839-2 |
| Ubuntu | Pro:22.04:LTS | golang-go.crypto | 1:0.0~git20211202.5770296-1ubuntu0.1~esm1 | UBUNTU-CVE-2024-45337 USN-7839-1 |
| Ubuntu | Pro:24.04:LTS | golang-go.crypto | 1:0.19.0-1ubuntu0.1~esm1 | UBUNTU-CVE-2024-45337 USN-7839-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 more | helm | 3.17.1-150000.1.41.1 | SUSE-SU-2025:0602-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 more | supportutils-plugin-salt | 1.2.3-150000.3.16.1 | SUSE-SU-2025:0525-1 |
| SUSE | Linux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP3, Linux Enterprise Module for Public Cloud 15 SP4 and 2 more | google-guest-agent | 20250327.01-150000.1.60.1 | SUSE-SU-2025:1143-1 |
| SUSE | Linux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 2 more | google-guest-agent | 20260529.00-150000.1.70.1 | SUSE-SU-2026:2612-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP6 | kubevirt | 1.4.1-150600.5.24.1 | SUSE-SU-2025:03278-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP7 | kubevirt | 1.5.2-150700.3.5.2 | SUSE-SU-2025:02581-1 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP6 | brise | 20230603+git.5fdd2d6-150600.3.8.1 | SUSE-SU-2025:0601-1 |
| SUSE | Linux Enterprise Module for HPC 15 SP6 | apptainer | 1.3.6-150600.4.9.1 | SUSE-SU-2025:0980-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6 | golang-github-prometheus-promu | 0.17.0-150000.3.24.1 | SUSE-SU-2025:0525-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6 | govulncheck-vulndb | 0.0.20250226T025151-150000.1.35.1 | SUSE-SU-2025:0770-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6 | grafana | 10.4.13-150200.3.59.1 | SUSE-SU-2025:0545-1 |
| SUSE | Linux Enterprise Module for Public Cloud 12 | google-guest-agent | 20250327.01-1.50.1 | SUSE-SU-2025:1142-1 |
| 20 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.6 | apptainer | 1.3.6-150600.4.9.1 | SUSE-SU-2025:0980-1 |
| openSUSE | Leap 15.6 | brise | 20230603+git.5fdd2d6-150600.3.8.1 | SUSE-SU-2025:0601-1 |
| openSUSE | Leap 15.6 | cheat | 4.4.2-bp156.3.3.1 | openSUSE-SU-2025:0025-1 |
| openSUSE | Leap 15.6 | dracut-saltboot | 0.1.1728559936.c16d4fb-150000.1.56.1 | SUSE-SU-2025:0525-1 |
| openSUSE | Leap 15.6 | gitea-tea | 0.9.2-bp156.5.1 | openSUSE-SU-2025:0094-1 |
| openSUSE | Leap 15.6 | golang-github-prometheus-promu | 0.17.0-150000.3.24.1 | SUSE-SU-2025:0525-1 |
| openSUSE | Leap 15.6 | google-guest-agent | 20250327.01-150000.1.60.1 | SUSE-SU-2025:1143-1 |
| openSUSE | Leap 15.6 | govulncheck-vulndb | 0.0.20250226T025151-150000.1.35.1 | SUSE-SU-2025:0770-1 |
| openSUSE | Leap 15.6 | grafana | 10.4.13-150200.3.59.1 | SUSE-SU-2025:0545-1 |
| openSUSE | Leap 15.6 | helm | 3.17.1-150000.1.41.1 | SUSE-SU-2025:0602-1 |
| openSUSE | Leap 15.6 | kubevirt | 1.4.1-150600.5.24.1 | SUSE-SU-2025:03278-1 |
| openSUSE | Leap 15.6 | spacecmd | 5.0.11-150000.3.130.1 | SUSE-SU-2025:0525-1 |
| 34 more for openSUSE in the JSON and on openSUSE's page. | ||||
| Alpine | v3.22, v3.23, v3.24 | rclone | 1.69.0-r0 | ALPINE-CVE-2024-45337 |
| Azure Linux | 2 | cert-manager | 1.11.2-16 | AZL-54317 |
| Azure Linux | 2 | moby-compose | 2.17.3-9 | AZL-54286 |
| Azure Linux | 2 | moby-engine | 24.0.9-13 | AZL-54320 |
| Azure Linux | 2 | packer | 1.9.5-5 | AZL-54290 |
| Azure Linux | 2 | podman | no fix listed | AZL-54315 |
| Azure Linux | 2 | telegraf | 1.29.4-10 | AZL-54281 |
| Azure Linux | 3 | cert-manager | 1.12.13-2 | AZL-54372 |
| Azure Linux | 3 | cf-cli | 8.7.3-4 | AZL-54327 |
| Azure Linux | 3 | cri-o | no fix listed | AZL-54353 |
| Azure Linux | 3 | docker-buildx | 0.14.0-2 | AZL-54345 |
| Azure Linux | 3 | docker-compose | 2.27.0-2 | AZL-54381 |
| Azure Linux | 3 | gh | 2.62.0-3 | AZL-54384 |
| 4 more for Azure Linux in the JSON. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
This vulnerability is classified as important rather than critical because it does not directly enable unauthorized access but rather introduces a risk of authorization bypass if the application or library misuses the PublicKeyCallback API. The vulnerability relies on incorrect assumptions made by the application when handling the sequence or state of keys provided during SSH authentication. Properly implemented systems that use the Permissions field or avoid relying on external state remain unaffected. Additionally, the vulnerability does not allow direct exploitation to gain control over a system without the presence of insecure logic in the application's handling of authentication attempts.
Red Hat Enterprise Linux(RHEL) 8 & 9 and Red Hat Openshift marked as not affected as it was determined that the problem function `ServerConfig.PublicKeyCallback`, as noted in the CVE-2024-45337 issue, is not called by Podman, Buildah, containers-common, or the gvisor-tap-vsock projects.
| Product | Package | State | Advisory |
|---|---|---|---|
| gatekeeper 3.14 for RHEL 9 | gatekeeper/gatekeeper-operator-bundle:v3.14.3-3 | Fixed 2025-02-12 | RHSA-2025:1333 |
| gatekeeper 3.14 for RHEL 9 | gatekeeper/gatekeeper-rhel9:v3.14.2-8 | Fixed 2025-02-12 | RHSA-2025:1333 |
| gatekeeper 3.14 for RHEL 9 | gatekeeper/gatekeeper-rhel9-operator:v3.14.3-2 | Fixed 2025-02-12 | RHSA-2025:1333 |
| gatekeeper 3.15 for RHEL 9 | gatekeeper/gatekeeper-operator-bundle:v3.15.3-2 | Fixed 2025-02-12 | RHSA-2025:1332 |
| gatekeeper 3.15 for RHEL 9 | gatekeeper/gatekeeper-rhel9:v3.15.1-26 | Fixed 2025-02-12 | RHSA-2025:1332 |
| gatekeeper 3.15 for RHEL 9 | gatekeeper/gatekeeper-rhel9-operator:v3.15.3-1 | Fixed 2025-02-12 | RHSA-2025:1332 |
| gatekeeper 3.17 for RHEL 9 | gatekeeper/gatekeeper-operator-bundle:v3.17.1-6 | Fixed 2025-02-12 | RHSA-2025:1331 |
| gatekeeper 3.17 for RHEL 9 | gatekeeper/gatekeeper-rhel9:v3.17.1-7 | Fixed 2025-02-12 | RHSA-2025:1331 |
| gatekeeper 3.17 for RHEL 9 | gatekeeper/gatekeeper-rhel9-operator:v3.17.1-5 | Fixed 2025-02-12 | RHSA-2025:1331 |
| multicluster engine for Kubernetes 2.4 for RHEL 8 | multicluster-engine/addon-manager-rhel8:v2.4.7-6 | Fixed 2025-01-21 | RHSA-2025:0552 |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-controller-rhel8 | Affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-controller-rhel9 | Affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-git-cloner-rhel8 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-git-cloner-rhel9 | Affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-bundler-rhel8 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-bundler-rhel9 | Affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-processing-rhel8 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-processing-rhel9 | Affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-waiters-rhel8 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-waiters-rhel9 | Affected | |
| 579 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-45337.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.