JDK-8209129 : Further improvements to cipher buffer management
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-08-08
  • Updated: 2019-03-19
  • Resolved: 2018-08-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12 JDK 8 Other
11.0.2Fixed 12 b09Fixed 8u181Fixed openjdk7uFixed
Related Reports
Relates :  
Relates :  
Description
JDK-8208583 focused on minimizing the visibility of some buffer contents used when retrieving keys. Further improvements can be made in the Cipher and MessageDigest buffer areas 
Comments
Removing JDK 11u fix request until JDK-8209862 is fully assessed.
05-09-2018

Fix Request A useful fix to have in JDK 11 LTS. The JDK libraries should make best efforts to protect contents of crypto buffers and keystores. The patch involves tighening up crypto code so that buffer contents are deleted as soon as is practical. A test case for these fixes is not practical but I'd be happy to describe how to manually verify with SQE teams. Patches should apply cleanly.
23-08-2018