-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持或者兼容 Snakeyaml 2.0 #982
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Snakeyaml 1.X 版存在较多漏洞,包括1.33 中,仍旧包含 (CVE-2022-1471) 存在反序列化漏洞 和 (CVE-2022-41854) 存在缓冲区溢出漏洞。
目前 Snakeyaml 2.0 已经发布,Spring Boot 2.7.11 和 3.0.5 虽然尚未将默认依赖的 Snakeyaml 的版本更新至 2.0,但也均已经做了兼容处理。使用新版本 Spring Boot,手动升级 Snakeyaml 至 2.0,服务可以正常运行。
个人现有的微服务工程,使用 Spring Boot 2.7.11 和 3.0.6,同时将 Snakeyaml 升级到 2.0 ,可以正常运行。将基础设施支持切换至 Spring Cloud Tencent 后,运行出错。
跟踪代码发现是不兼容 Snakeyaml 2.0 初始化所致。
不知道在新版本 Spring Cloud Tencent 中,能否支持 Snakeyaml 2.0 或者做相应的兼容处理。
另外:Spring Cloud 2022.0.2 已发布,不知道能否发布对应版本。
The text was updated successfully, but these errors were encountered: