该版本主要针对部分Jraft请求处理时,会造成任意文件读写的问题进行修复。
该漏洞仅影响7848端口(默认设置下),一般使用时该端口为Nacos集群间Raft协议的通信端口,不承载客户端请求,因此老版本可以通过禁止该端口来自Nacos集群外的请求达到止血目的(如部署时已进行限制或未暴露,则风险可控)。
另外该版本也在2.4.0的基础上针对derby ops接口做了进一步优化,默认限制derby数据库可执行的SQL范围,降低用户在打开derby ops接口后的风险。
变更详情请查看下文:
The version mainly fixes the issue of arbitrary file read and write that can occur during the processing of some Jraft requests.
The vulnerability only affects port 7848 (by default), which is typically used as the communication port for Nacos cluster inter-raft protocol and does not handle client requests. Therefore, the risk can be controlled by disabling requests from outside of Nacos clusters (e.g. by limiting or not exposing the port) in older versions.
Additionally, this version has further optimized the Derby Ops API by restricting the range of executable SQL commands on the Derby database by default, thereby reducing the risk to users when accessing the Derby Ops API.
Please see the details of the changes below:
Change details
Feature
Enhancement&Refactor
[#11887] Add some tips when token.secret.key
is not base64.
[#12311] Enhance console to support namespace list with selectors.
[#12405] LDAP plugin support custom admin user password for default.
[#12446] Enhance hint when got Mac Instance with error in default auth plugin.
[#12466] Enhance to configurable service metadata and instance metadata length.
[#12477] Enhance default auth plugin to support auth_basic
when logout.
[#12489] Remove KvStorage and ConsistencyService.
[#12490] Enhance derby mode to support limit SQL Type.
BugFix
[#12301] Fix headlth check for persistent instance for different namespace but groupName and serviceName are same.
[#12374] Fix memory calculate error for metrics api.
[#12397] Fix the bug of parsing empty connection control rule problem.
[#12410] Fix no hint when beta config content is not equal with formal content.
Dependency
[#12342] Resolve the Hessian package conflict.
New Contributors
- @eltociear made their first contribution in #12392
- @Sitosoym made their first contribution in #12324
- @cold-l made their first contribution in #12434
- @KouShenhai made their first contribution in #12386
- @chen10038 made their first contribution in #12310
- @LHyphen made their first contribution in #12442
- @kangzhaok made their first contribution in #12401
- @fuhouyu made their first contribution in #12447
- @gongycn made their first contribution in #12449
Full Changelog: 2.4.0.1...2.4.1