APAR status
Closed as program error.
Error description
Error Message: When loading PKCS12 keystore file which contains entries with no alias in Java 8, an IOException with message "DerInputStream.getLength(): lengthTag=127, too big" is thrown and the keystore load fails. . Stack Trace: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big. at com.ibm.security.util.DerInputStream.getLength(DerInputStream.ja va:724) at com.ibm.security.util.DerInputStream.getLength(DerInputStream.ja va:698) at com.ibm.security.util.DerValue.<init>(DerValue.java:254) at com.ibm.security.util.DerInputStream.readVector(DerInputStream.j ava:472) at com.ibm.security.util.DerInputStream.getSequence(DerInputStream. java:397) at com.ibm.crypto.provider.PKCS12KeyStoreOracle.engineLoad(Unknown Source) at java.security.KeyStore.load(KeyStore.java:1456) .
Local fix
Problem summary
Issue in DerInputStream on handling constructed indefinite length data
Problem conclusion
The fix adds the correct logic to handle constructed indefinite length data. The associated RTC PR is 111440 The associated Austin CMVC defect is 117231 The associated Austin APAR is IV83669 JVMs affected : Java 6.0, Java 6.1, Java 7.0, java 7.1 and Java 8.0 The fix was delivered for Java 6.0 SR16 FP30, Java 6.1 SR8 FP30, Java 7.0 SR9 FP50, Java 7.1 SR3 FP50 and Java 8.0 SR3 FP10 The affected jar is "ibmpkcs.jar". The build level of this jar for the affected releases is "20160428" . This APAR will be fixed in the following Java Releases: 8 SR3 FP10 (8.0.3.10) 7 SR9 FP50 (7.0.9.50) 6 SR16 FP30 (6.0.16.30) 6 R1 SR8 FP30 (6.1.8.30) 7 R1 SR3 FP50 (7.1.3.50) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IV84284
Reported component name
SECURITY
Reported component ID
620700125
Reported release
270
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-04-29
Closed date
2016-05-04
Last modified date
2016-05-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
SECURITY
Fixed component ID
620700125
Applicable component levels
R270 PSY
UP
R260 PSY
UP
R600 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"270","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
07 December 2020