CVE-2013-1624: Improper Input Validation in Bouncy Castle
4
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.66421%
CWE
Published
5/14/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
AV:N/AC:H/Au:N/C:P/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.bouncycastle:bcprov-jdk15on | maven | < 1.48 | 1.48 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability centers on non-constant-time processing of CBC padding and MAC checks. The Openwall analysis explicitly identifies Bouncy Castle's deviation from RFC recommendations (using last-byte-derived padding length rather than zero-length assumption). The TlsBlockCipher.decrypt()
method is the logical location for this decryption/padding/MAC validation sequence in Bouncy Castle's TLS implementation. The described vulnerability pattern matches classic TLS CBC padding oracle vulnerabilities where timing differences between padding validation and MAC validation steps are exploitable.