Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
9
Star
0
Fork
28
src-openEuler
/
libssh
Closed
Code
Issues
0
Pull Requests
5
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2025-8277
Done
#ICX78O
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2025-09-09 20:31
一、漏洞信息 漏洞编号:[CVE-2025-8277](https://nvd.nist.gov/vuln/detail/CVE-2025-8277) 漏洞归属组件:[libssh](https://gitee.com/src-openeuler/libssh) 漏洞归属的版本:0.10.4,0.10.5,0.9.4,0.9.5,0.9.6 CVSS V3.0分值: BaseScore:3.1 Low Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L 漏洞简述: A flaw was found in libssh s handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability. 漏洞公开时间:2025-09-09 20:15:30 漏洞创建时间:2025-09-09 20:31:19 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-8277 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://nvd.nist.gov/vuln/detail/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://www.mend.io/vulnerability-database/CVE-2025-8277 | | | | https://www.cve.org/CVERecord?id=CVE-2025-8277 | | | | https://nvd.nist.gov/vuln/detail/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://ubuntu.com/security/CVE-2025-8277 | | | | https://www.cve.org/CVERecord?id=CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://www.libssh.org/security/advisories/CVE-2025-8277.txt | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://git.libssh.org/projects/libssh.git/commit/?id=4310a696f2d632c6742678077d703d9b9ff3bc0e | | | | https://git.libssh.org/projects/libssh.git/commit/?id=9ada7aa0e478d5eddcfeb63bcc82b8cfb2699c2f | | | | https://git.libssh.org/projects/libssh.git/commit/?id=c9d95ab0c7a52b231bcec09afbea71944ed0d852 | | | | https://git.libssh.org/projects/libssh.git/commit/?id=ccff22d3787c1355b3f0dcd09fe54d90acc55bf1 | | | | https://git.libssh.org/projects/libssh.git/commit/?id=ffed80f8c078122990a4eba2b275facd56dd43e0 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-2342 | | | | https://nvd.nist.gov/vuln/detail/CVE-2025-8277 | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 七彩瞬析开源风险感知平台 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://git.libssh.org/projects/libssh.git/commit/?id=4310a696f2d632c6742678077d703d9b9ff3bc0e | | snyk | | | | https://git.libssh.org/projects/libssh.git/commit/?id=9ada7aa0e478d5eddcfeb63bcc82b8cfb2699c2f | | snyk | | | | https://git.libssh.org/projects/libssh.git/commit/?id=c9d95ab0c7a52b231bcec09afbea71944ed0d852 | | snyk | | | | https://git.libssh.org/projects/libssh.git/commit/?id=ccff22d3787c1355b3f0dcd09fe54d90acc55bf1 | | snyk | | | | https://git.libssh.org/projects/libssh.git/commit/?id=ffed80f8c078122990a4eba2b275facd56dd43e0 | | snyk | </details> 二、漏洞分析结构反馈 影响性分析说明: libssh 库密钥交换逻辑中存在内存耗尽漏洞。当经过身份验证的客户端反复使用错误的 first_kex_packet_follows 猜测值执行密钥更新时,libssh 会分配新的临时密钥对,而不会释放存储在 session->next_crypto 中的旧密钥对。随着时间的推移,这会导致内存泄漏,从而耗尽系统内存并引发客户端拒绝服务 (DoS)。此漏洞影响多个加密后端(libgcrypt、OpenSSL、mbedTLS)中的多种 KEX 算法(Curve25519、ECDH、sntrup761x25519、DH-GEX)。此问题需要经过身份验证的客户端才能触发,不会影响服务器端。受影响的版本:libssh >= 0.6.0 openEuler评分: 3.1 Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L 受影响版本排查(受影响/不受影响): 1.master(0.10.5):受影响 2.openEuler-20.03-LTS-SP4:受影响 3.openEuler-22.03-LTS-SP3(0.9.6):受影响 4.openEuler-22.03-LTS-SP4(0.9.6):受影响 5.openEuler-24.03-LTS:受影响 6.openEuler-24.03-LTS-Next:受影响 7.openEuler-24.03-LTS-SP1:受影响 8.openEuler-24.03-LTS-SP2:受影响 修复是否涉及abi变化(是/否): 1.master(0.10.5):否 2.openEuler-20.03-LTS-SP4:否 3.openEuler-22.03-LTS-SP3(0.9.6):否 4.openEuler-22.03-LTS-SP4(0.9.6):否 5.openEuler-24.03-LTS:否 6.openEuler-24.03-LTS-Next:否 7.openEuler-24.03-LTS-SP1:否 8.openEuler-24.03-LTS-SP2:否 原因说明: 1.master(0.10.5):正常修复 2.openEuler-20.03-LTS-SP4:正常修复 3.openEuler-22.03-LTS-SP3(0.9.6):正常修复 4.openEuler-22.03-LTS-SP4(0.9.6):正常修复 5.openEuler-24.03-LTS:正常修复 6.openEuler-24.03-LTS-Next:正常修复 7.openEuler-24.03-LTS-SP1:正常修复 8.openEuler-24.03-LTS-SP2:正常修复 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-2342
一、漏洞信息 漏洞编号:[CVE-2025-8277](https://nvd.nist.gov/vuln/detail/CVE-2025-8277) 漏洞归属组件:[libssh](https://gitee.com/src-openeuler/libssh) 漏洞归属的版本:0.10.4,0.10.5,0.9.4,0.9.5,0.9.6 CVSS V3.0分值: BaseScore:3.1 Low Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L 漏洞简述: A flaw was found in libssh s handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability. 漏洞公开时间:2025-09-09 20:15:30 漏洞创建时间:2025-09-09 20:31:19 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-8277 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://nvd.nist.gov/vuln/detail/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://www.mend.io/vulnerability-database/CVE-2025-8277 | | | | https://www.cve.org/CVERecord?id=CVE-2025-8277 | | | | https://nvd.nist.gov/vuln/detail/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://ubuntu.com/security/CVE-2025-8277 | | | | https://www.cve.org/CVERecord?id=CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://www.libssh.org/security/advisories/CVE-2025-8277.txt | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://security-tracker.debian.org/tracker/CVE-2025-8277 | | | | https://access.redhat.com/security/cve/CVE-2025-8277 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://git.libssh.org/projects/libssh.git/commit/?id=4310a696f2d632c6742678077d703d9b9ff3bc0e | | | | https://git.libssh.org/projects/libssh.git/commit/?id=9ada7aa0e478d5eddcfeb63bcc82b8cfb2699c2f | | | | https://git.libssh.org/projects/libssh.git/commit/?id=c9d95ab0c7a52b231bcec09afbea71944ed0d852 | | | | https://git.libssh.org/projects/libssh.git/commit/?id=ccff22d3787c1355b3f0dcd09fe54d90acc55bf1 | | | | https://git.libssh.org/projects/libssh.git/commit/?id=ffed80f8c078122990a4eba2b275facd56dd43e0 | | | | https://bugzilla.redhat.com/show_bug.cgi?id=2383888 | | | | https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-2342 | | | | https://nvd.nist.gov/vuln/detail/CVE-2025-8277 | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 七彩瞬析开源风险感知平台 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://git.libssh.org/projects/libssh.git/commit/?id=4310a696f2d632c6742678077d703d9b9ff3bc0e | | snyk | | | | https://git.libssh.org/projects/libssh.git/commit/?id=9ada7aa0e478d5eddcfeb63bcc82b8cfb2699c2f | | snyk | | | | https://git.libssh.org/projects/libssh.git/commit/?id=c9d95ab0c7a52b231bcec09afbea71944ed0d852 | | snyk | | | | https://git.libssh.org/projects/libssh.git/commit/?id=ccff22d3787c1355b3f0dcd09fe54d90acc55bf1 | | snyk | | | | https://git.libssh.org/projects/libssh.git/commit/?id=ffed80f8c078122990a4eba2b275facd56dd43e0 | | snyk | </details> 二、漏洞分析结构反馈 影响性分析说明: libssh 库密钥交换逻辑中存在内存耗尽漏洞。当经过身份验证的客户端反复使用错误的 first_kex_packet_follows 猜测值执行密钥更新时,libssh 会分配新的临时密钥对,而不会释放存储在 session->next_crypto 中的旧密钥对。随着时间的推移,这会导致内存泄漏,从而耗尽系统内存并引发客户端拒绝服务 (DoS)。此漏洞影响多个加密后端(libgcrypt、OpenSSL、mbedTLS)中的多种 KEX 算法(Curve25519、ECDH、sntrup761x25519、DH-GEX)。此问题需要经过身份验证的客户端才能触发,不会影响服务器端。受影响的版本:libssh >= 0.6.0 openEuler评分: 3.1 Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L 受影响版本排查(受影响/不受影响): 1.master(0.10.5):受影响 2.openEuler-20.03-LTS-SP4:受影响 3.openEuler-22.03-LTS-SP3(0.9.6):受影响 4.openEuler-22.03-LTS-SP4(0.9.6):受影响 5.openEuler-24.03-LTS:受影响 6.openEuler-24.03-LTS-Next:受影响 7.openEuler-24.03-LTS-SP1:受影响 8.openEuler-24.03-LTS-SP2:受影响 修复是否涉及abi变化(是/否): 1.master(0.10.5):否 2.openEuler-20.03-LTS-SP4:否 3.openEuler-22.03-LTS-SP3(0.9.6):否 4.openEuler-22.03-LTS-SP4(0.9.6):否 5.openEuler-24.03-LTS:否 6.openEuler-24.03-LTS-Next:否 7.openEuler-24.03-LTS-SP1:否 8.openEuler-24.03-LTS-SP2:否 原因说明: 1.master(0.10.5):正常修复 2.openEuler-20.03-LTS-SP4:正常修复 3.openEuler-22.03-LTS-SP3(0.9.6):正常修复 4.openEuler-22.03-LTS-SP4(0.9.6):正常修复 5.openEuler-24.03-LTS:正常修复 6.openEuler-24.03-LTS-Next:正常修复 7.openEuler-24.03-LTS-SP1:正常修复 8.openEuler-24.03-LTS-SP2:正常修复 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-2342
Comments (
6
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
jinag12
jiangheng12
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/FIXED
sig/Networking
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
1
https://gitee.com/src-openeuler/libssh.git
git@gitee.com:src-openeuler/libssh.git
src-openeuler
libssh
libssh
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register