IBM Support

IV68742: MESSAGEDIGEST.CLOSE() RETURNS INCOMPLETE CLONE FOR SHA-1

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: After getting a MessageDigest via
    getInstance("SHA-1"), if two threads attempt to clone() the
    message digest, the clone is not "complete", in that if the two
    threads then generate a hash on the cloned copies, the resulting
    digest sometimes overlaps.
    .
    Stack Trace: N/A
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • MessageDigest.close() returns incomplete clone for SHA-1
    

Problem conclusion

  • MessageDigest.clone() for algorithm SHA-1 and MD5 have been
    fixed to add the missing array clone.The associated RTC PR is
    82553The associated Austin CMVC defect is 116233The associated
    Hursley CMVC defect is 202656The associated Austin APAR is
    IV68373JVMs affected : Java 5.0, Java 6.0, Java 6.1, Java 7.0,
    Java 7.1The fix was delivered for Java 5.0 SR16FP10, Java 6.0
    SR16FP4, Java 6.1 SR8FP4, Java 7.0 SR9, Java 7.1 SR3The affected
    jar is "ibmjceprovider.jar".The build level of this jar for the
    affected releases is "20150108"
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9       (7.0.9.0)
       5.0  SR16 FP10 (5.0.16.10)
       6    SR16 FP4  (6.0.16.4)
       6 R1 SR8 FP4   (6.1.8.4)
       7 R1 SR3       (7.1.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68742

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-19

  • Closed date

    2015-01-19

  • Last modified date

    2015-01-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV68763

Fix information

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • 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":"260","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020