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

  • ALAS2-2025-2749

    Amazon Linux 2 2017.12 - ALAS2-2025-2749: important priority package update for nerdctl

    Important CVE-2024-45337CVE-2024-45338 Amazon Linux Updated 4 February 2025
  • ALAS2-2025-2779

    Amazon Linux 2 2017.12 - ALAS2-2025-2779: important priority package update for amazon-cloudwatch-agent

    Important CVE-2024-34155CVE-2024-34156CVE-2024-34158CVE-2024-45337 Amazon Linux Updated 7 March 2025
  • ALAS2023-2025-833

    Amazon Linux 2023 - ALAS2023-2025-833: Important priority package update for nerdctl

    Important CVE-2024-45337CVE-2024-45338 Amazon Linux Updated 5 February 2025
  • ALAS2023-2025-834

    Amazon Linux 2023 - ALAS2023-2025-834: Important priority package update for runfinch-finch

    Important CVE-2024-45337CVE-2024-45338CVE-2024-51744 Amazon Linux Updated 11 February 2025
  • ALAS2023-2025-835

    Amazon Linux 2023 - ALAS2023-2025-835: Important priority package update for containerd

    Important CVE-2024-45337 Amazon Linux Updated 5 February 2025
  • ALAS2023-2025-880

    Amazon Linux 2023 - ALAS2023-2025-880: Important priority package update for amazon-cloudwatch-agent

    Important CVE-2024-34155CVE-2024-34156CVE-2024-34158CVE-2024-45337 Amazon Linux Updated 5 March 2025
  • ALPINE-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…

    CVE-2024-45337 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2024-45337
    CVE-2024-45337 Alpine Updated 18 November 2026
  • AZL-54281

    CVE-2024-45337 affecting package telegraf for versions less than 1.29.4-10

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54286

    CVE-2024-45337 affecting package moby-compose for versions less than 2.17.3-9

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54290

    CVE-2024-45337 affecting package packer for versions less than 1.9.5-5

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54315

    CVE-2024-45337 affecting package podman 4.1.1-26

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54317

    CVE-2024-45337 affecting package cert-manager for versions less than 1.11.2-16

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54320

    CVE-2024-45337 affecting package moby-engine for versions less than 24.0.9-13

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54327

    CVE-2024-45337 affecting package cf-cli for versions less than 8.7.3-4

    CVE-2024-45337 Azure Linux Updated 23 November 2026
  • AZL-54330

    CVE-2024-45337 affecting package packer for versions less than 1.9.5-4

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54333

    CVE-2024-45337 affecting package kubevirt for versions less than 1.2.0-11

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54345

    CVE-2024-45337 affecting package docker-buildx for versions less than 0.14.0-2

    CVE-2024-45337 Azure Linux Updated 23 November 2026
  • AZL-54353

    CVE-2024-45337 affecting package cri-o 1.30.1-1

    CVE-2024-45337 Azure Linux Updated 23 November 2026
  • AZL-54357

    CVE-2024-45337 affecting package moby-engine for versions less than 25.0.3-9

    CVE-2024-45337 Azure Linux Updated 31 October 2026
  • AZL-54363

    CVE-2024-45337 affecting package telegraf for versions less than 1.31.0-3

    CVE-2024-45337 Azure Linux Updated 22 September 2026
  • AZL-54372

    CVE-2024-45337 affecting package cert-manager for versions less than 1.12.13-2

    CVE-2024-45337 Azure Linux Updated 21 April 2026
  • AZL-54381

    CVE-2024-45337 affecting package docker-compose for versions less than 2.27.0-2

    CVE-2024-45337 Azure Linux Updated 31 October 2026
  • AZL-54384

    CVE-2024-45337 affecting package gh for versions less than 2.62.0-3

    CVE-2024-45337 Azure Linux Updated 8 September 2026
  • CGA-2256-8v3r-4jjf
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-226x-5hvr-wpcv
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2273-m8j6-hp35
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2299-xhw2-jgw9
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-22c9-278h-xhrx
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-233j-6244-jcv7
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-23hx-qmpv-qw6x
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-244g-7425-j7w5
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-244v-6f79-mqv7
    CVE-2024-45337 Chainguard Updated 11 September 2026
  • CGA-246g-jpr5-vf9j
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-24g3-fm5j-p8c9
    CVE-2024-45337 Chainguard Updated 27 October 2026
  • CGA-24hc-558g-7j4f
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-24hf-fwgv-v9mj
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-24ph-279c-gr86
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-24vg-5gxw-83v8
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-24vm-28p5-hwp9
    CVE-2024-45337 Chainguard Updated 27 October 2026
  • CGA-24xx-596q-4qp5
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2544-7r63-h535
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2546-mf35-3vqj
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-25f3-q29h-vm25
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-25h4-6495-2cg6
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-25h4-7ccx-phgp
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-25hv-q299-wpxq
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-25jc-mrrf-54h2
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-25px-h863-g646
    CVE-2024-45337 Chainguard Updated 27 October 2026
  • CGA-2676-vhq2-jhvr
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-26q5-q53j-5668
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-26qv-5cg2-4q5w
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-26rf-w2h6-vhvq
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-26x9-p8j4-q463
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2759-c79m-gxhg
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-276r-m49g-cwh6
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-278w-gmjh-6j86
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2796-xcgc-m2rc
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-27fx-55fp-443x
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-27qc-hgp3-62fr
    CVE-2024-45337 Chainguard Updated 27 October 2026
  • CGA-27w3-jxjw-732w
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2835-j6p5-q547
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-284x-m746-hcc4
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-286g-j7h3-cwmw
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-28fw-rqrp-fxqc
    CVE-2024-45337 Chainguard Updated 11 September 2026
  • CGA-28g3-w2m6-j99g
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-28gp-gc6x-4rj6
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-28hj-q9m3-pc4j
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-296x-r85f-6mpq
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-29f7-w9cw-3pw5
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-29hh-f7gw-v6g7
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-29jf-5mp7-gmc5
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-29mg-9x7w-95fj
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-29r8-jrxp-796v
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-29x5-p8mh-xmhr
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-29x5-pc43-hpfm
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2c75-xcg3-cjfh
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2cf6-g3c7-5prq
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2cvc-9627-v564
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2f93-r7xv-fjc9
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2f9j-8phf-m3h7
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2fmg-gh2c-mqpm
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2g83-72cv-2hq9
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2g95-4p3p-4gp2
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2gg9-c4wm-vv9g
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2gmc-mffq-3gqm
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2gw9-hq34-4jv7
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2h33-h95f-mhvr
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2h4r-3hq3-2jrr
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2h53-vgv7-w24j
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2h88-qfch-m8jf
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2hg2-ggc4-xq8q
    CVE-2024-45337 Chainguard Updated 27 October 2026
  • CGA-2hhf-5wxf-2jpm
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2hhq-p63w-fccv
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2hj3-7h5f-fr43
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2hm3-h43q-34gv
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2hmf-qf2w-2p8r
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2hq3-fq5h-2h6m
    CVE-2024-45337 Chainguard Updated 5 November 2026
  • CGA-2hqp-q7gv-vg56
    CVE-2024-45337 ChainguardWolfi Updated 5 November 2026
  • CGA-2hx5-532w-786m
    CVE-2024-45337 Chainguard Updated 5 November 2026

Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2024-45337.

References