Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
core/src/main/java/org/bouncycastle/crypto/engines/DSTU7624Engine.java: most-fixed (2 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: Incomplete certificate structure validation allowed the acceptance of malformed or spoofed certificates, bypassing crucial PKIX path validation constraints. Developers must enforce strict RFC 5280 compliance, particularly regarding TBSCertificate versions and duplicate extensions.
Cryptographic Issues: KGCMBlockCipher failed to properly process initial associated authenticated data (AAD) during initialization and resets. This critical defect left ciphertext vulnerable to tampering due to omitted integrity checks on associated text.
Auth Bypass: The KCCM block cipher bypassed standard AEAD security guarantees by failing to cache and verify data within the doFinal block. This allowed potential decryption completion without proper MAC verification.