Description
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected products
- Spring / Spring Security5.7.x – 5.7.16
- Spring / Spring Security5.8.x – 5.8.18
- Spring / Spring Security6.0.x – 6.0.16
- Spring / Spring Security6.1.x – 6.1.14
- Spring / Spring Security6.2.x – 6.2.10
- Spring / Spring Security6.3.x – 6.3.8
- Spring / Spring Security6.4.x – 6.4.4