来源:Spring系列官网
发布日期:2021-02-19
阅读次数:5316
评论:0
更新标题
CVE-2021-22112: Changing SecurityContext More Than Once in Single Request Can Fail to Save
更新详情
CVE-2021-22112: Changing SecurityContext More Than Once in Single Request Can Fail to Save
SeverityLowVendorSpring by VMwareDescriptionSpring Security versions 5.4.0 to 5.4.2, 5.3.0.RELEASE to 5.3.6.RELEASE, 5.2.0.RELEASE to 5.2.8.RELEASE, and older unsupported versions can fail to save the SecurityContext if it is changed more than once in a single request. The SecurityContext can fail to save to the HttpSession if a developer changes the SecurityContext twice in a single request when both of the following conditions are met: First the developer must change the SecurityContext before the HttpResponse is committed and then the HttpResponse must be committed before the SecurityContextPersistenceFilter completes. Then the developer must attempt to change the SecurityContext again before the SecurityContextPersistenceFilter completes. A malicious user cannot cause the bug to happen (it must be programmed in). However, if the application"s intent is to only allow the user to run with elevated privileges in a small portion of the application, the bug can be leveraged to extend those privileges to the rest of the application.Affected VMware Products and VersionsSpring Security5.4.0 to 5.4.25.3.0.RELEASE to 5.3.6.RELEASE5.2.0.RELEASE to 5.2.8.RELEASEMitigationUsers of affected versions should upgrade to one of the releases below. There are no other mitigation steps necessary. Older versions should upgrade to a supported branch. Releases that have fixed this issue include:Spring Security5.4.35.3.7.RELEASE5.2.9.RELEASECreditThis issue was discovered and responsibly reported by Daniel Beck, Jeff Thompson, Jesse Glick, and Wadeck Follonier, CloudBees, Inc.Referenceshttps://tanzu.vmware.com/security/cve-2021-22112History2021-02-19: Initial vulnerability report published.
软件描述
Spring框架是一个开放源代码的J2EE应用程序框架,由Rod Johnson发起,是针对bean的生命周期进行管理的轻量级容器(lightweight container)。
评论