CVE-2020-28052

NameCVE-2020-28052
DescriptionAn issue was discovered in Legion of the Bouncy Castle BC Java 1.65 and 1.66. The OpenBSDBCrypt.checkPassword utility method compared incorrect data when checking the password, allowing incorrect passwords to indicate they were matching with previously hashed ones that were different.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
Debian Bugs977683

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bouncycastle (PTS)jessie, jessie (lts)1.49+dfsg-3+deb8u3fixed
stretch (security), stretch (lts), stretch1.56-1+deb9u3fixed
buster1.60-1fixed
bullseye1.68-2fixed
sid, bookworm1.71-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bouncycastlesourcejessie(not affected)
bouncycastlesourcestretch(not affected)
bouncycastlesourcebuster(not affected)
bouncycastlesource(unstable)1.65-2977683

Notes

[buster] - bouncycastle <not-affected> (Vulnerability introduced later)
[stretch] - bouncycastle <not-affected> (Vulnerability introduced later)
https://github.com/bcgit/bc-java/wiki/CVE-2020-28052
https://www.synopsys.com/blogs/software-security/cve-2020-28052-bouncy-castle/
Introduced in: https://github.com/bcgit/bc-java/commit/00dfe74aeb4f6300dd56b34b5e6986ce6658617e (r1rv65)
Fixed by: https://github.com/bcgit/bc-java/commit/97578f9b7ed277e6ecb58834e85e3d18385a4219 (r1rv67)
[jessie] - bouncycastle <not-affected> (Vulnerability introduced later)

Search for package or bug name: Reporting problems