PT-2020-16912 · Legion Of The Bouncy Castle · Legion Of The Bouncy Castle Bc

Published

2020-12-18

·

Updated

2024-06-15

·

CVE-2020-28052

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Legion of the Bouncy Castle BC Java versions 1.65 through 1.66
Description An issue was discovered in the OpenBSDBCrypt.checkPassword utility method, which compared incorrect data when checking the password. This allowed incorrect passwords to indicate they were matching with previously hashed ones that were different. The vulnerability can be exploited to bypass authentication, potentially giving an attacker access to user or admin accounts. It is estimated that 20% of passwords can be cracked with the first thousand attempts.
Recommendations For versions 1.65 and 1.66, update to version 1.67 or later to resolve the issue. As a temporary workaround, consider restricting access to sensitive areas of the application until the update can be applied.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-28052
GHSA-73XV-W5GP-FRXH
OPENSUSE-SU-2024:10661-1
RHSA-2021:0872
RHSA-2021:0873
RHSA-2021:0874
RHSA-2024:10208

Affected Products

Legion Of The Bouncy Castle Bc