CVE-2025-4877 (CNNVD-202508-2444)

MEDIUM
中文标题:
libssh 缓冲区错误漏洞
英文标题:
Libssh: write beyond bounds in binary to base64 conversion functions
CVSS分数: 4.5
发布时间: 2025-08-20 12:19:18
漏洞类型: 缓冲区错误
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

libssh是libssh组织的一个用于访问SSH服务的C语言开发包,它能够执行远程命令、文件传输,同时为远程的程序提供安全的传输通道。 libssh存在缓冲区错误漏洞,该漏洞源于32位版本中处理大输入缓冲区时出现整数溢出,可能导致堆损坏。

英文描述:

There's a vulnerability in the libssh package where when a libssh consumer passes in an unexpectedly large input buffer to ssh_get_fingerprint_hash() function. In such cases the bin_to_base64() function can experience an integer overflow leading to a memory under allocation, when that happens it's possible that the program perform out of bounds write leading to a heap corruption. This issue affects only 32-bits builds of libssh.

CWE类型:
CWE-787
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
Red Hat Red Hat Enterprise Linux 10 - - - cpe:/o:redhat:enterprise_linux:10
Red Hat Red Hat Enterprise Linux 6 - - - cpe:/o:redhat:enterprise_linux:6
Red Hat Red Hat Enterprise Linux 7 - - - cpe:/o:redhat:enterprise_linux:7
Red Hat Red Hat Enterprise Linux 8 - - - cpe:/o:redhat:enterprise_linux:8
Red Hat Red Hat Enterprise Linux 9 - - - cpe:/o:redhat:enterprise_linux:9
Red Hat Red Hat OpenShift Container Platform 4 - - - cpe:/a:redhat:openshift:4
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 vdb-entry
cve.org
访问
RHBZ#2376193 issue-tracking
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
4.5
CVSS向量: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
机密性
LOW
完整性
LOW
可用性
LOW
时间信息
发布时间:
2025-08-20 12:19:18
修改时间:
2025-09-25 02:45:52
创建时间:
2025-11-11 15:40:36
更新时间:
2026-01-12 02:11:53
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-4877 2025-11-11 15:23:26 2025-11-11 07:40:36
NVD nvd_CVE-2025-4877 2025-11-11 15:01:00 2025-11-11 07:48:24
CNNVD cnnvd_CNNVD-202508-2444 2025-11-11 15:12:54 2025-11-11 08:00:06
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:06
vulnerability_type: 未提取 → 缓冲区错误; cnnvd_id: 未提取 → CNNVD-202508-2444; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 缓冲区错误
  • cnnvd_id: 未提取 -> CNNVD-202508-2444
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:24
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']