• CVE-2024-45337

发布时间: 2025年9月12日

修改时间: 2025年9月19日

概要

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/

CVSS v3 指标

NVD openEuler
Confidentiality High
Attack Vector Network
CVSS评分 N/A 9.1
Attack Complexity Low
Privileges Required None
Scope Unchanged
Integrity High
User Interaction None
Availability None

安全公告

公告名 概要 发布时间
KylinSec-SA-2025-2900 buildah security update 2025年9月28日

影响产品

产品 状态
V6 buildah Fixed
KY3.5.3 buildah Fixed
KY3.5.2 buildah Fixed