BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
History

Thu, 03 Apr 2025 03:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat apache Camel Spring Boot
CPEs cpe:/a:redhat:apache_camel_spring_boot:4.8.5
Vendors & Products Redhat
Redhat apache Camel Spring Boot

Fri, 21 Mar 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 21 Mar 2025 03:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-863
References
Metrics threat_severity

None

threat_severity

Important


Thu, 20 Mar 2025 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Mar 2025 06:00:00 +0000

Type Values Removed Values Added
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.
Title CVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password length
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2025-03-21T16:09:31.664Z

Reserved: 2025-01-02T04:29:59.191Z

Link: CVE-2025-22228

cve-icon Vulnrichment

Updated: 2025-03-20T17:47:51.495Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-03-20T06:15:23.087

Modified: 2025-03-20T18:15:18.663

Link: CVE-2025-22228

cve-icon Redhat

Severity : Important

Publid Date: 2025-03-20T05:49:19Z

Links: CVE-2025-22228 - Bugzilla