JDK-8246193 : Possible NPE in ENC-PA-REP search in AS-REQ
Type:Bug
Component:security-libs
Sub-Component:org.ietf.jgss:krb5
Affected Version:openjdk8u262,11.0.7
Priority:P3
Status:Closed
Resolution:Fixed
Submitted:2020-05-30
Updated:2020-10-12
Resolved:2020-05-31
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.
In Kerberos Referral, if ENC-PA-REP is sent in AS-REQ it also should be in AS-REP. An NPE might be thrown in this check if the AS-REQ does not contain any PA-DATA at all.
Comments
Critical Fix Request (8u)
I'd like to make a critical request to have this bug fix in 8u. The reason is that several real Kerberos use-cases are broken and we need this fix to stabilize Kerberos. Patch does not apply cleanly but a review has been done: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-September/012615.html No regressions observed in sun/security/krb5. The risk is low because the fix is very specific and limited.
Fix request (11u) -- will label after testing completed.
I would like to downport this for parity with 11.0.9-oracle.
Applies clean except for the copyright in test KDC.java.