ADVISORIES

Vulnerability

CVE-2024-45337

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.

2891 advisories report this vulnerability, across 12 ecosystems.

Advisories in SUSE

  • SUSE-SU-2025:01985-1

    Security update 4.3.15 for Multi-Linux Manager Server

    CVE-2023-45288CVE-2024-11741CVE-2024-45337CVE-2024-45339 SUSE Updated 4 February 2026
  • SUSE-SU-2025:02581-1

    Security update for kubevirt, virt-api-container, virt-controller-container, virt-exportproxy-container, virt-exportserver-container, virt-handler-container, virt-launcher-container, virt-libguestfs-tools-container,…

    CVE-2024-45337CVE-2024-45338 SUSE Updated 23 March 2026
  • SUSE-SU-2025:03278-1

    Security update for kubevirt, virt-api-container, virt-controller-container, virt-exportproxy-container, virt-exportserver-container, virt-handler-container, virt-launcher-container, virt-libguestfs-tools-container,…

    CVE-2024-45337CVE-2024-45338CVE-2025-22872 SUSEopenSUSE Updated 23 March 2026
  • SUSE-SU-2025:0524-1

    Security update for SUSE Manager Client Tools

    CVE-2023-3128CVE-2023-6152CVE-2024-22037CVE-2024-45337 SUSE Updated 4 February 2026
  • SUSE-SU-2025:0525-1

    Security update for SUSE Manager Client Tools

    CVE-2023-3128CVE-2023-6152CVE-2024-22037CVE-2024-45337 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:0545-1

    Security update for grafana

    CVE-2023-3128CVE-2023-6152CVE-2024-45337CVE-2024-6837 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:0601-1

    Security update for brise

    CVE-2024-45337CVE-2025-21613 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:0602-1

    Security update for helm

    CVE-2024-45337CVE-2024-45338 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:0770-1

    Security update for govulncheck-vulndb

    CVE-2024-45337CVE-2025-22868CVE-2025-22869 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:0980-1

    Security update for apptainer

    CVE-2024-41110CVE-2024-45337CVE-2024-45338CVE-2025-22869 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:1142-1

    Security update for google-guest-agent

    CVE-2024-45337 SUSE Updated 4 February 2026
  • SUSE-SU-2025:1143-1

    Security update for google-guest-agent

    CVE-2024-45337 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:20196-1

    Security update for helm

    CVE-2024-25620CVE-2024-26147CVE-2024-45337CVE-2024-45338 SUSE Updated 23 March 2026
  • SUSE-SU-2025:20278-1

    Security update for helm

    CVE-2024-25620CVE-2024-26147CVE-2024-45337CVE-2024-45338 SUSE Updated 23 March 2026
  • SUSE-SU-2026:2581-1

    Security update for google-guest-agent

    CVE-2023-45288CVE-2024-45337CVE-2025-22868CVE-2025-22869 SUSE Updated 24 June 2026
  • SUSE-SU-2026:2612-1

    Security update for google-guest-agent

    CVE-2023-45288CVE-2024-45337CVE-2025-22868CVE-2025-22869 SUSE Updated 25 June 2026
  • SUSEVEX-CVE-2024-45337

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

    Important CVE-2024-45337 SUSEopenSUSE Updated 7 November 2026
  • openSUSE-SU-2025:0025-1

    Security update for cheat

    CVE-2024-45337 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2025:0056-1

    Security update for trivy

    CVE-2024-34155CVE-2024-34156CVE-2024-34158CVE-2024-3817 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2025:0094-1

    Security update for gitea-tea

    CVE-2024-45337CVE-2024-45338CVE-2025-22869 SUSEopenSUSE Updated 4 February 2026

References