搶先一步
VMware 提供培訓和認證,以加速您的進度。
了解更多在 Spring Security 中,5.7.x 版本至 5.7.12 之前、5.8.x 版本至 5.8.11 之前、6.0.x 版本至 6.0.9 之前、6.1.x 版本至 6.1.8 之前、6.2.x 版本至 6.2.3 之前,當應用程式直接使用 AuthenticatedVoter#vote
並傳遞 null
Authentication 參數時,可能容易受到缺陷的存取控制影響。
具體而言,如果符合以下條件,應用程式將容易受到攻擊
AuthenticatedVoter
,並且將 null
驗證參數傳遞給它,導致錯誤的 true
傳回值。如果符合以下任一條件,應用程式則不會受到攻擊
AuthenticatedVoter#vote
。null
傳遞給 AuthenticatedVoter#vote
。請注意,自 5.8 起已棄用 AuthenticatedVoter
,請使用 AuthorizationManager
的實作來替換。
Spring Security
受影響版本的用戶應升級到相應的修正版本。
受影響的版本 | 修正版本 | 可用性 |
---|---|---|
5.7.x | 5.7.12 | OSS |
5.8.x | 5.8.11 | OSS |
6.0.x | 6.0.10 | 僅企業支援 |
6.1.x | 6.1.8 | OSS |
6.2.x | 6.2.3 | OSS |
此問題由 pwnull 發現並負責回報 (https://github.com/pwnull)。
若要回報 Spring 系列專案中的安全性漏洞,請參閱安全性政策