alibaba / alibaba/Sentinel

sentinel-datasource-nacos中1.4.2版本的nacos-client存在安全漏洞,升级nacos客户端版本报错

Open
#3,277 0 comments 0 reactions 0 assignees View on GitHub
dependencies
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

版本:sentinel-datasource-nacos:1.8.5

sentinel-datasource-nacos 1.8.5 中1.4.2版本的nacos-client存在安全漏洞,

首先尝试升级sentinel-datasource-nacos为最新的2.0.0-alpha版本,发现引用的nacos-client仍是1.4.2版本的nacos,

因此尝试升级nacos-client版本为2.2.1,发现启动报错。
![285627959-88666cc4-48a9-43f7-b23d-6e144d54cb33](https://github.com/alibaba/Sentinel/assets/57353956/0e4a68e4-b460-4ccf-b136-783b9de536bb)

升级nacos-client修改的pom配置如下:
![1700970941682](https://github.com/alibaba/Sentinel/assets/57353956/b7381458-52f1-4bb2-a044-a689a55ddc2a)

请问后续sentinel-datasource-nacos是否有适配nacos-client高版本的迭代计划?

Contributor guide

Open the contributing guide

Research direction

Start in the sentinel-datasource-nacos module and inspect its pom configuration and Nacos client integration. Reproduce the startup failure after changing nacos-client from 1.4.2 to 2.2.1, then determine the compatibility changes needed for a supported newer client version. Done means the module starts successfully with the newer client and the security concern is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.