nday
CVE-2025-5372

Libssh: incorrect return code handling in ssh_kdf() in libssh

libssh / libssh · Red Hat / Red Hat Enterprise Linux 8、Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support、Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On、Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support、Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On +8

に公開されました。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L (CVSS 3.1) from the CNA redhat
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L (CVSS 3.1) from the CNA redhat
OpenShift
affected products in the CVE record: Red Hat · Red Hat OpenShift Container Platform 4CPE names NVD's analysts give as vulnerable: a:redhat:openshift_container_platform
virtualization / containers
affected products in the CVE record: Red Hat · Red Hat OpenShift Container Platform 4CPE names NVD's analysts give as vulnerable: a:redhat:openshift_container_platformthe product type of OpenShift in nday's product registry
現在の段階
DIS
公開日時
CVSS 基本値
5.0 MEDIUM v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
2025-07-04T06:01Z
PAT修正
記録なし
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA redhat.

イベント履歴

+DIS公開

redhat が CVE レコードを公開。CVSS 基本値 5(警告)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 3438,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-5372",
  "occurred_at": "2025-07-04T06:01:27.954Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "version": "3.1",
      "base_score": 5,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2025-07-08T14:08:57.301926Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2025-07-04T06:01:27.954Z",
    "assigner_short_name": "redhat"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.