Information disclosure in Bouncy Castle for Java - CVE-2016-1000345
Published: February 5, 2024
Vulnerability identifier: #VU86069
CSH Severity: Medium
CVSS v4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-1000345
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to DHIES/ECIES CBC mode vulnerable to padding oracle attack. A remote attacker with enough observations can identify when the decryption is failing due to padding.
Affected software
Bouncy Castle for Java
Debian Linux
Ubuntu
libbcmail-java (Ubuntu package)
libbcpg-java (Ubuntu package)
libbcpkix-java (Ubuntu package)
libbcprov-java (Ubuntu package)
bouncycastle (Debian package)
IBM Sterling File Gateway
Fuse
IBM Cloud Application Performance Management (APM)
Debian Linux
Ubuntu
libbcmail-java (Ubuntu package)
libbcpg-java (Ubuntu package)
libbcpkix-java (Ubuntu package)
libbcprov-java (Ubuntu package)
bouncycastle (Debian package)
IBM Sterling File Gateway
Fuse
IBM Cloud Application Performance Management (APM)
How to mitigate CVE-2016-1000345
Install updates from vendor's website.
Bouncy Castle for Java - update to 1.56
libbcmail-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcpg-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcpkix-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcprov-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
bouncycastle (Debian package) - update to 1.49+dfsg-3+deb8u3
IBM Sterling File Gateway - addressed in versions 6.0.3.7, 6.1.0.5, 6.1.1.2, 6.1.2.0
Fuse - update to 7.1.0
IBM Cloud Application Performance Management (APM) - update to 8.1.4.0.14
libbcmail-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcpg-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcpkix-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcprov-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
bouncycastle (Debian package) - update to 1.49+dfsg-3+deb8u3
IBM Sterling File Gateway - addressed in versions 6.0.3.7, 6.1.0.5, 6.1.1.2, 6.1.2.0
Fuse - update to 7.1.0
IBM Cloud Application Performance Management (APM) - update to 8.1.4.0.14
External References
- https://access.redhat.com/errata/RHSA-2018:2669
- https://access.redhat.com/errata/RHSA-2018:2927
- https://github.com/bcgit/bc-java/commit/21dcb3d9744c83dcf2ff8fcee06dbca7bfa4ef35#diff-4439ce586bf9a13bfec05c0d113b8098
- https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html
- https://security.netapp.com/advisory/ntap-20181127-0004/
- https://usn.ubuntu.com/3727-1/
- https://www.oracle.com/security-alerts/cpuoct2020.html