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
18
Star
0
Fork
12
src-openEuler
/
openresty-openssl111
Closed
Code
Issues
14
Pull Requests
0
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-2024-5535
Backlog
#ICDRWZ
CVE和安全问题
openLiBing-bot
Opened this issue
2025-06-09 18:07
一、漏洞信息 漏洞编号:[CVE-2024-5535](https://nvd.nist.gov/vuln/detail/CVE-2024-5535) 漏洞归属组件:[openresty-openssl111](https://gitee.com/src-openeuler/openresty-openssl111) 漏洞归属的版本:1.1.1h CVSS V3.0分值: BaseScore:9.1 Critical Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H 漏洞简述: Issue summary: Calling the OpenSSL API function SSL_select_next_proto with anempty supported client protocols buffer may cause a crash or memory contents tobe sent to the peer.Impact summary: A buffer overread can have a range of potential consequencessuch as unexpected application beahviour or a crash. In particular this issuecould result in up to 255 bytes of arbitrary private data from memory being sentto the peer leading to a loss of confidentiality. However, only applicationsthat directly call the SSL_select_next_proto function with a 0 length list ofsupported client protocols are affected by this issue. This would normally neverbe a valid scenario and is typically not under attacker control but may occur byaccident in the case of a configuration or programming error in the callingapplication.The OpenSSL API function SSL_select_next_proto is typically used by TLSapplications that support ALPN (Application Layer Protocol Negotiation) or NPN(Next Protocol Negotiation). NPN is older, was never standardised andis deprecated in favour of ALPN. We believe that ALPN is significantly morewidely deployed than NPN. The SSL_select_next_proto function accepts a list ofprotocols from the server and a list of protocols from the client and returnsthe first protocol that appears in the server list that also appears in theclient list. In the case of no overlap between the two lists it returns thefirst item in the client list. In either case it will signal whether an overlapbetween the two lists was found. In the case where SSL_select_next_proto iscalled with a zero length client list it fails to notice this condition andreturns the memory immediately following the client list pointer (and reportsthat there was no overlap in the lists).This function is typically called from a server side application callback forALPN or a client side application callback for NPN. In the case of ALPN the listof protocols supplied by the client is guaranteed by libssl to never be zero inlength. The list of server protocols comes from the application and should nevernormally be expected to be of zero length. In this case if theSSL_select_next_proto function has been called as expected (with the listsupplied by the client passed in the client/client_len parameters), then theapplication will not be vulnerable to this issue. If the application hasaccidentally been configured with a zero length server list, and hasaccidentally passed that zero length server list in the client/client_lenparameters, and has additionally failed to correctly handle a no overlap response (which would normally result in a handshake failure in ALPN) then itwill be vulnerable to this problem.In the case of NPN, the protocol permits the client to opportunistically selecta protocol when there is no overlap. OpenSSL returns the first client protocolin the no overlap case in support of this. The list of client protocols comesfrom the application and should never normally be expected to be of zero length.However if the SSL_select_next_proto function is accidentally called with aclient_len of 0 then an invalid memory pointer will be returned instead. If theapplication uses this output as the opportunistic protocol then the loss ofconfidentiality will occur.This issue has been assessed as Low severity because applications are mostlikely to be vulnerable if they are using NPN instead of ALPN - but NPN is notwidely used. It also requires an application configuration or programming error.Finally, this issue would not typically be under attacker control making activeexploitation unlikely.The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.Due to the low severity of this issue we are not issuing new releases ofOpenSSL at this time. The fix will be included in the next releases when theybecome available. 漏洞公开时间:2024-06-27 19:15:24 漏洞创建时间:2025-06-09 18:07:44 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-5535 <details> <summary>更多参考(点击展开)</summary> 无 </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 其他 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | openssl/openssl | | https://github.com/openssl/openssl/commit/4ada436a1946cbb24db5ab4ca082b69c1bc10f37.patch | | ljqc | | openharmony/third_party_openssl | | https://gitee.com/openharmony/third_party_openssl/commit/19f37166d62f45fc2f6a9bd47032f06d353f9040.patch | | ljqc | </details> 二、漏洞分析结构反馈 影响性分析说明: openEuler评分: 9.1 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H 受影响版本排查(受影响/不受影响): 1.master(1.1.1h): 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP3(1.1.1h): 4.openEuler-22.03-LTS-SP4(1.1.1h): 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(1.1.1h): 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP3(1.1.1h): 4.openEuler-22.03-LTS-SP4(1.1.1h): 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(1.1.1h): 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP3(1.1.1h): 4.openEuler-22.03-LTS-SP4(1.1.1h): 5.openEuler-24.03-LTS: 6.openEuler-24.03-LTS-Next: 7.openEuler-24.03-LTS-SP1: 8.openEuler-24.03-LTS-SP2:
一、漏洞信息 漏洞编号:[CVE-2024-5535](https://nvd.nist.gov/vuln/detail/CVE-2024-5535) 漏洞归属组件:[openresty-openssl111](https://gitee.com/src-openeuler/openresty-openssl111) 漏洞归属的版本:1.1.1h CVSS V3.0分值: BaseScore:9.1 Critical Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H 漏洞简述: Issue summary: Calling the OpenSSL API function SSL_select_next_proto with anempty supported client protocols buffer may cause a crash or memory contents tobe sent to the peer.Impact summary: A buffer overread can have a range of potential consequencessuch as unexpected application beahviour or a crash. In particular this issuecould result in up to 255 bytes of arbitrary private data from memory being sentto the peer leading to a loss of confidentiality. However, only applicationsthat directly call the SSL_select_next_proto function with a 0 length list ofsupported client protocols are affected by this issue. This would normally neverbe a valid scenario and is typically not under attacker control but may occur byaccident in the case of a configuration or programming error in the callingapplication.The OpenSSL API function SSL_select_next_proto is typically used by TLSapplications that support ALPN (Application Layer Protocol Negotiation) or NPN(Next Protocol Negotiation). NPN is older, was never standardised andis deprecated in favour of ALPN. We believe that ALPN is significantly morewidely deployed than NPN. The SSL_select_next_proto function accepts a list ofprotocols from the server and a list of protocols from the client and returnsthe first protocol that appears in the server list that also appears in theclient list. In the case of no overlap between the two lists it returns thefirst item in the client list. In either case it will signal whether an overlapbetween the two lists was found. In the case where SSL_select_next_proto iscalled with a zero length client list it fails to notice this condition andreturns the memory immediately following the client list pointer (and reportsthat there was no overlap in the lists).This function is typically called from a server side application callback forALPN or a client side application callback for NPN. In the case of ALPN the listof protocols supplied by the client is guaranteed by libssl to never be zero inlength. The list of server protocols comes from the application and should nevernormally be expected to be of zero length. In this case if theSSL_select_next_proto function has been called as expected (with the listsupplied by the client passed in the client/client_len parameters), then theapplication will not be vulnerable to this issue. If the application hasaccidentally been configured with a zero length server list, and hasaccidentally passed that zero length server list in the client/client_lenparameters, and has additionally failed to correctly handle a no overlap response (which would normally result in a handshake failure in ALPN) then itwill be vulnerable to this problem.In the case of NPN, the protocol permits the client to opportunistically selecta protocol when there is no overlap. OpenSSL returns the first client protocolin the no overlap case in support of this. The list of client protocols comesfrom the application and should never normally be expected to be of zero length.However if the SSL_select_next_proto function is accidentally called with aclient_len of 0 then an invalid memory pointer will be returned instead. If theapplication uses this output as the opportunistic protocol then the loss ofconfidentiality will occur.This issue has been assessed as Low severity because applications are mostlikely to be vulnerable if they are using NPN instead of ALPN - but NPN is notwidely used. It also requires an application configuration or programming error.Finally, this issue would not typically be under attacker control making activeexploitation unlikely.The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.Due to the low severity of this issue we are not issuing new releases ofOpenSSL at this time. The fix will be included in the next releases when theybecome available. 漏洞公开时间:2024-06-27 19:15:24 漏洞创建时间:2025-06-09 18:07:44 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-5535 <details> <summary>更多参考(点击展开)</summary> 无 </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 其他 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | openssl/openssl | | https://github.com/openssl/openssl/commit/4ada436a1946cbb24db5ab4ca082b69c1bc10f37.patch | | ljqc | | openharmony/third_party_openssl | | https://gitee.com/openharmony/third_party_openssl/commit/19f37166d62f45fc2f6a9bd47032f06d353f9040.patch | | ljqc | </details> 二、漏洞分析结构反馈 影响性分析说明: openEuler评分: 9.1 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H 受影响版本排查(受影响/不受影响): 1.master(1.1.1h): 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP3(1.1.1h): 4.openEuler-22.03-LTS-SP4(1.1.1h): 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(1.1.1h): 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP3(1.1.1h): 4.openEuler-22.03-LTS-SP4(1.1.1h): 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(1.1.1h): 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP3(1.1.1h): 4.openEuler-22.03-LTS-SP4(1.1.1h): 5.openEuler-24.03-LTS: 6.openEuler-24.03-LTS-Next: 7.openEuler-24.03-LTS-SP1: 8.openEuler-24.03-LTS-SP2:
Comments (
4
)
Sign in
to comment
Status
Backlog
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
陈棋德
dillon_chen
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/UNFIXED
sig/sig-OpenResty
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/openresty-openssl111.git
git@gitee.com:src-openeuler/openresty-openssl111.git
src-openeuler
openresty-openssl111
openresty-openssl111
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